userstateinfo.cs

来自「建立系统架构的说明(教你怎样搭好框架).rar」· CS 代码 · 共 34 行

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

namespace IAS.BookShop.Model
{
    [Serializable]
    public class UserStateInfo
    {
        private int _id;

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }
        private string _name;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public UserStateInfo() { }

        public UserStateInfo(int id, string name)
        {
            this.Id = id;
            this.Name = name;
        }
    }
}

⌨️ 快捷键说明

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