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