cl_stuland.cs

来自「用三层架构写的用户登录的简单例子 适合C#初学者」· CS 代码 · 共 40 行

CS
40
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class Cl_stuland
    {
       
        public Cl_stuland()
        { 
        
        }

        public Cl_stuland(string str_stuid,string str_password)
        {
            _stuid = str_stuid;
            _password = str_password;
        }

        string _stuid;

        public string Stuid
        {
            get { return _stuid; }
            set { _stuid = value; }
        }


        string _password;

        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?