using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
namespace Mirle.Component.Database.Model.Warroom.Config
{
///
/// 公司基本資料類別
///
[Table("cfg_company")]
public class CfgCompany : CommonDto
{
///
/// 公司識別碼
///
[Column(Name = "company_id"), JsonPropertyName("company_id")]
[Required, Key]
public int CompanyUID { get; set; }
///
/// 公司名稱
///
[Column(Name = "company_name"), JsonPropertyName("company_name")]
public string CompanyName { get; set; }
///
/// 公司所在國家
///
[Column(Name = "company_country"), JsonPropertyName("company_country")]
public string CompanyCountry { get; set; }
///
/// 公司所在行政地區
///
[Column(Name = "company_district"), JsonPropertyName("company_district")]
public string CompanyDistrict { get; set; }
///
/// 廠區/庫區別
///
[Column(Name = "company_factory"), JsonPropertyName("company_factory")]
public string CompanyFactory { get; set; }
///
/// 樓層
///
[Column(Name = "company_floor"), JsonPropertyName("company_floor")]
public string CompanyFloor { get; set; }
///
/// 區域
///
[Column(Name = "company_area"), JsonPropertyName("company_area")]
public string CompanyArea { get; set; }
}
}