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
50 lines
1.7 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_company")]
|
|
public class CfgCompany : CommonDto
|
|
{
|
|
/// <summary>
|
|
/// 公司識別碼
|
|
/// </summary>
|
|
[Column(Name = "company_id"), JsonPropertyName("company_id")]
|
|
[Required, Key]
|
|
public int CompanyUID { get; set; }
|
|
/// <summary>
|
|
/// 公司名稱
|
|
/// </summary>
|
|
[Column(Name = "company_name"), JsonPropertyName("company_name")]
|
|
public string CompanyName { get; set; }
|
|
/// <summary>
|
|
/// 公司所在國家
|
|
/// </summary>
|
|
[Column(Name = "company_country"), JsonPropertyName("company_country")]
|
|
public string CompanyCountry { get; set; }
|
|
/// <summary>
|
|
/// 公司所在行政地區
|
|
/// </summary>
|
|
[Column(Name = "company_district"), JsonPropertyName("company_district")]
|
|
public string CompanyDistrict { get; set; }
|
|
/// <summary>
|
|
/// 廠區/庫區別
|
|
/// </summary>
|
|
[Column(Name = "company_factory"), JsonPropertyName("company_factory")]
|
|
public string CompanyFactory { get; set; }
|
|
/// <summary>
|
|
/// 樓層
|
|
/// </summary>
|
|
[Column(Name = "company_floor"), JsonPropertyName("company_floor")]
|
|
public string CompanyFloor { get; set; }
|
|
/// <summary>
|
|
/// 區域
|
|
/// </summary>
|
|
[Column(Name = "company_area"), JsonPropertyName("company_area")]
|
|
public string CompanyArea { get; set; }
|
|
}
|
|
}
|