SysPost.cs 719 B

123456789101112131415161718192021
  1. namespace ZR.Model.System
  2. {
  3. [SugarTable("sys_post", "岗位表")]
  4. [Tenant("0")]
  5. public class SysPost : SysBase
  6. {
  7. /// <summary>
  8. /// 岗位Id
  9. /// </summary>
  10. [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
  11. public long PostId { get; set; }
  12. [SugarColumn(ExtendedAttribute = ProteryConstant.NOTNULL)]
  13. public string PostCode { get; set; }
  14. [SugarColumn(ExtendedAttribute = ProteryConstant.NOTNULL)]
  15. public string PostName { get; set; }
  16. [SugarColumn(ExtendedAttribute = ProteryConstant.NOTNULL)]
  17. public int PostSort { get; set; }
  18. [SugarColumn(Length = 1)]
  19. public string Status { get; set; }
  20. }
  21. }