categoryinfo.cs
来自「三层结构」· CS 代码 · 共 56 行
CS
56 行
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; }
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?