123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace PMS.BusinessModels.SysManager
- {
- /// <summary>
- /// 创 建 人:王海洋
- /// 创建日期:2018-12-10
- /// 功能描述:系统按钮业务模型
- /// </summary>
- public class form_button_model : UIModel
- {
- [DbColumn("ID")]
- public long id { get; set; }
- [DbColumn("名称")]
- public string name { get; set; }
- [DbColumn("标识")]
- public string tag { get; set; }
- [DbColumn("序号")]
- public int ordnum { get; set; }
- [DbColumn("图标")]
- public string icon { get; set; }
- public string isactive { get; set; }
- [DbColumn("颜色")]
- public string color { get; set; }
- [DbColumn("备注")]
- public string remark { get; set; }
- [DbColumn("启用")]
- public int Active
- {
- get
- {
- if (isactive == "on")
- {
- return 1;
- }
- return 0;
- }
- set
- {
- isactive = value == 1 ? "on" : "";
- }
- }
- }
- }
|