Sys_Company.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. namespace OASystem.Domain.Entities.System
  2. {
  3. /// <summary>
  4. /// 公司表
  5. /// </summary>
  6. [SugarTable("Sys_Company")]
  7. public class Sys_Company : EntityBase
  8. {
  9. /// <summary>
  10. /// 公司Code
  11. /// </summary>
  12. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(20)")]
  13. public string CompanyCode { get; set; }
  14. /// <summary>
  15. /// 公司名称
  16. /// </summary>
  17. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  18. public string CompanyName { get; set; }
  19. /// <summary>
  20. /// 公司所在地
  21. /// </summary>
  22. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(200)")]
  23. public string Address { get; set; }
  24. /// <summary>
  25. /// 负责人Id
  26. /// </summary>
  27. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  28. public int ContactUserId { get; set; }
  29. /// <summary>
  30. /// 联系方式
  31. /// </summary>
  32. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
  33. public string Tel { get; set; }
  34. /// <summary>
  35. /// 父级公司Id
  36. /// </summary>
  37. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  38. public int ParentCompanyId { get; set; }
  39. }
  40. }