You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.7 KiB

8 months ago
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. using System.Text.Json.Serialization;
  4. namespace Mirle.Component.Database.Model.Warroom.Config
  5. {
  6. /// <summary>
  7. /// 公司基本資料類別
  8. /// </summary>
  9. [Table("cfg_company")]
  10. public class CfgCompany : CommonDto
  11. {
  12. /// <summary>
  13. /// 公司識別碼
  14. /// </summary>
  15. [Column(Name = "company_id"), JsonPropertyName("company_id")]
  16. [Required, Key]
  17. public int CompanyUID { get; set; }
  18. /// <summary>
  19. /// 公司名稱
  20. /// </summary>
  21. [Column(Name = "company_name"), JsonPropertyName("company_name")]
  22. public string CompanyName { get; set; }
  23. /// <summary>
  24. /// 公司所在國家
  25. /// </summary>
  26. [Column(Name = "company_country"), JsonPropertyName("company_country")]
  27. public string CompanyCountry { get; set; }
  28. /// <summary>
  29. /// 公司所在行政地區
  30. /// </summary>
  31. [Column(Name = "company_district"), JsonPropertyName("company_district")]
  32. public string CompanyDistrict { get; set; }
  33. /// <summary>
  34. /// 廠區/庫區別
  35. /// </summary>
  36. [Column(Name = "company_factory"), JsonPropertyName("company_factory")]
  37. public string CompanyFactory { get; set; }
  38. /// <summary>
  39. /// 樓層
  40. /// </summary>
  41. [Column(Name = "company_floor"), JsonPropertyName("company_floor")]
  42. public string CompanyFloor { get; set; }
  43. /// <summary>
  44. /// 區域
  45. /// </summary>
  46. [Column(Name = "company_area"), JsonPropertyName("company_area")]
  47. public string CompanyArea { get; set; }
  48. }
  49. }