You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.8 KiB
C#

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