颐和api

Sys_AppModule_Function.cs 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using MadRunFabric.Common;
  2. using MongoDB.Bson.Serialization.Attributes;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. namespace MadRunFabric.Model
  7. {
  8. public class Sys_AppModule_Function : IBaseModel<string>
  9. {
  10. /// <summary>
  11. /// id
  12. /// </summary>
  13. [Key]
  14. [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
  15. public string id { get; set; }
  16. /// <summary>
  17. /// 项目id外键
  18. /// </summary>
  19. [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
  20. public string project_id { get; set; }
  21. /// <summary>
  22. /// 项目内部模块常规顺序号(如:1、2、3)
  23. /// </summary>
  24. public int sort { get; set; }
  25. /// <summary>
  26. /// 功能状态-(0:不可以用;1:可用 )
  27. /// </summary>
  28. public int state_flag { get; set; } = 1;
  29. /// <summary>
  30. /// app功能模块id外键
  31. /// </summary>
  32. [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
  33. public string module_id { get; set; }
  34. }
  35. }