using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Code.Entity;
///
/// 工厂信息表
///
[SqlSugar.SugarTable("code_factory", "工厂信息表")]
public class CodeFactory: BaseModel
{
///
/// 工厂中文名称
///
[SugarColumn(ColumnDescription = "工厂中文名称", Length = 60,IsNullable = false)]
public string FactoryName { get; set; }
///
/// 工厂英文文名称
///
[SugarColumn(ColumnDescription = "工厂英文文名称", Length = 60, IsNullable = true)]
public string EnName { get; set; }
///
/// 工厂地址
///
[SugarColumn(ColumnDescription = "工厂地址", Length = 100, IsNullable = true)]
public string FactoryAddress { get; set; }
///
/// 工厂联系人
///
[SugarColumn(ColumnDescription = "工厂联系人", Length = 100, IsNullable = true)]
public string FactoryAttn { get; set; }
///
/// 工厂联系电话
///
[SugarColumn(ColumnDescription = "工厂联系电话", Length = 100, IsNullable = true)]
public string FactoryTel { get; set; }
///
/// 委托单位Id
///
[SqlSugar.SugarColumn(ColumnDescription = "委托单位Id", IsNullable = true, DefaultValue = "0")]
public long CustomerId { get; set; }
///
/// 委托单位 t_info_client CUSTNAME
///
[SqlSugar.SugarColumn(ColumnDescription = "委托单位", IsNullable = true, Length = 50)]
public string CustomerName { get; set; }
///
/// 状态 0启用 1禁用
///
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}