Model/CategoryInfo.cs

(完整代码) 1KB

using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class CategoryInfo
    {
        public string txtId = string.Empty;
        public string txtName = string.Empty;
        public string txtDesc = string.Empty;
        public bool txtVis = true;
        public CategoryInfo()
        {
            //
            // TODO: 在此处添加构造函数逻辑
            //
        }
        public CategoryInfo(string nId, string nName, string nDesc, bool nVis)
        {
            this.txtId = nId;
            this.txtName = nName;
            this.txtDesc = nDesc;
            this.txtVis = nVis;

        }

        public string CategoryId
        {

            get { return txtId; }
            set { txtId = value; }

        }
        public string CategoryName
        {

            get { return txtName; }
            set { txtName = value; }

        }
        public string Description
        {

            get { return txtDesc; }
            set { txtDesc = value; }

        }
        public bool Vis
        {
            get { return txtVis; }
            set { txtVis = value; }

        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。