Crm_CustomerCompany.cs 1.4 KB

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