Crm_CustomerCompany.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. 
  2. using OASystem.Domain.Attributes;
  3. namespace OASystem.Domain.Entities.Customer
  4. {
  5. /// <summary>
  6. /// 客户公司表
  7. /// </summary>
  8. [SugarTable("Crm_CustomerCompany")]
  9. public class Crm_CustomerCompany:EntityBase
  10. {
  11. /// <summary>
  12. /// 客户公司名称
  13. /// 简称
  14. /// </summary>
  15. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(40)")]
  16. public string? CompanyAbbreviation { get; set; }
  17. /// <summary>
  18. /// 客户公司名称
  19. /// 全称
  20. /// </summary>
  21. [SugarColumn(IsNullable =true,ColumnDataType = "varchar(80)")]
  22. [Encrypted]
  23. public string? CompanyFullName { get; set; }
  24. /// <summary>
  25. /// 公司地址
  26. /// </summary>
  27. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(200)")]
  28. public string? Address { get; set; }
  29. /// <summary>
  30. /// 邮政编码
  31. /// </summary>
  32. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(80)")]
  33. public string? PostCodes { get; set; }
  34. /// <summary>
  35. /// 最后操作人
  36. /// </summary>
  37. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  38. public int LastedOpUserId { get; set; }
  39. /// <summary>
  40. /// 最后操作时间
  41. /// </summary>
  42. [SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
  43. public DateTime LastedOpDt { get; set; } = DateTime.Now;
  44. }
  45. }