颐和api

Sys_Post_System.cs 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. using MadRunFabric.Common;
  2. using MongoDB.Bson.Serialization.Attributes;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Text;
  7. namespace MadRunFabric.Model
  8. {
  9. public class Sys_Post_System : IBaseModel<string>
  10. {
  11. /// <summary>
  12. /// id
  13. /// </summary>
  14. [Key]
  15. [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
  16. public string id { get; set; }
  17. /// <summary>
  18. /// 岗位ID
  19. /// </summary>
  20. [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
  21. public string postid { get; set; }
  22. /// <summary>
  23. /// 系统id
  24. /// </summary>
  25. [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
  26. public string systemid { get; set; }
  27. /// <summary>
  28. /// 添加人
  29. /// </summary>
  30. public string createby { get; set; }
  31. /// <summary>
  32. /// 添加时间
  33. /// </summary>
  34. public DateTime createtime
  35. {
  36. get
  37. {
  38. return _createtime;
  39. }
  40. set
  41. {
  42. _createtime = value;
  43. }
  44. }
  45. private DateTime _createtime = DateTime.Now;
  46. /// <summary>
  47. /// 是否删除(0正常1删除)
  48. /// </summary>
  49. public int isdelete { get; set; } = 0;
  50. /// <summary>
  51. /// 删除人
  52. /// </summary>
  53. public string deleteby { get; set; }
  54. /// <summary>
  55. /// 删除日期
  56. /// </summary>
  57. public DateTime deletetime
  58. {
  59. get
  60. {
  61. return _deletetime;
  62. }
  63. set
  64. {
  65. _deletetime = value;
  66. }
  67. }
  68. private DateTime _deletetime;
  69. }
  70. }