using MadRunFabric.Common; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace MadRunFabric.Model { public class Sys_AppModule_Info : IBaseModel { /// /// 自增id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// App功能模块名称 /// public string module_name { get; set; } /// /// App功能模块编码 /// public string module_code { get; set; } /// /// 备注 /// public string remark { get; set; } /// /// 本节点常规顺序号(如:1、2、3) /// public int sort { get; set; } /// /// 功能状态-(0:不可以用;1:可用 2:表示删除) /// public int state_flag { get; set; } = 1; /// /// 图标路径 /// /// /// /// 系统图片 /// public List img_url { get; set; } /// /// 此字段 前端显示为type 1表示APP 2表示微信 /// public int ismenu { get; set; } = 1; private DateTime _create_time; /// /// 创建时间 /// public DateTime create_time { set { _create_time = value.ToLocalTime();} get { return _create_time.ToLocalTime(); } } private DateTime _lastmodify_time; /// /// 修改时间 /// public DateTime lastmodify_time { set { _lastmodify_time = value.ToLocalTime();} get { return _lastmodify_time.ToLocalTime();} } private DateTime _delete_time; /// /// 删除时间 /// public DateTime delete_time { set { _delete_time = value.ToLocalTime(); } get { return _delete_time.ToLocalTime(); } } /// /// 创建人 /// public string create_uid { get; set; } /// /// 修改人 /// public string lastmodify_uid { get; set; } /// /// 删除人 /// public string delete_uid { get; set; } } }