| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 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_Function : IBaseModel<string>
- {
- /// <summary>
- /// id
- /// </summary>
- [Key]
- [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
- public string id { get; set; }
- /// <summary>
- /// 项目id外键
- /// </summary>
- [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
- public string project_id { get; set; }
- /// <summary>
- /// 项目内部模块常规顺序号(如:1、2、3)
- /// </summary>
- public int sort { get; set; }
- /// <summary>
- /// 功能状态-(0:不可以用;1:可用 )
- /// </summary>
- public int state_flag { get; set; } = 1;
- /// <summary>
- /// app功能模块id外键
- /// </summary>
- [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
- public string module_id { get; set; }
- }
- }
|