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

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
namespace Mirle.Component.Database.Model.Warroom.Config
{
/// <summary>
/// 供應商基本資料類別
/// </summary>
[Table("cfg_vendor")]
public class CfgVendorDto : CommonDto
{
/// <summary>
/// 供應商編號
/// </summary>
[Column(Name = "vendor_uid"), JsonPropertyName("vendor_uid")]
[Required, Key]
public string VendorUID { get; set; }
/// <summary>
/// 供應商名稱
/// </summary>
[Column(Name = "vendor_name"), JsonPropertyName("vendor_name")]
public string VendorName { get; set; }
/// <summary>
/// 供應商統一編號
/// </summary>
[Column(Name = "vendor_tax_id"), JsonPropertyName("vendor_tax_id")]
public string VendorTaxID { get; set; }
/// <summary>
/// 供應商聯絡電話
/// </summary>
[Column(Name = "vendor_contact_num"), JsonPropertyName("vendor_contact_num")]
public string VendorContactNumber { get; set; }
/// <summary>
/// 供應商聯絡地址
/// </summary>
[Column(Name = "vendor_contact_addr"), JsonPropertyName("vendor_contact_addr")]
public string VendorContactAddress { get; set; }
}
}