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.

40 lines
1.4 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_vendor")]
  10. public class CfgVendorDto : CommonDto
  11. {
  12. /// <summary>
  13. /// 供應商編號
  14. /// </summary>
  15. [Column(Name = "vendor_uid"), JsonPropertyName("vendor_uid")]
  16. [Required, Key]
  17. public string VendorUID { get; set; }
  18. /// <summary>
  19. /// 供應商名稱
  20. /// </summary>
  21. [Column(Name = "vendor_name"), JsonPropertyName("vendor_name")]
  22. public string VendorName { get; set; }
  23. /// <summary>
  24. /// 供應商統一編號
  25. /// </summary>
  26. [Column(Name = "vendor_tax_id"), JsonPropertyName("vendor_tax_id")]
  27. public string VendorTaxID { get; set; }
  28. /// <summary>
  29. /// 供應商聯絡電話
  30. /// </summary>
  31. [Column(Name = "vendor_contact_num"), JsonPropertyName("vendor_contact_num")]
  32. public string VendorContactNumber { get; set; }
  33. /// <summary>
  34. /// 供應商聯絡地址
  35. /// </summary>
  36. [Column(Name = "vendor_contact_addr"), JsonPropertyName("vendor_contact_addr")]
  37. public string VendorContactAddress { get; set; }
  38. }
  39. }