DigitalFactory/Admin.NET/Admin.NET.Application/Entity/Production.cs

53 lines
1.4 KiB
C#

using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
/// <summary>
/// 生产组织
/// </summary>
[SugarTable("Production","生产组织")]
public class Production : EntityTenant
{
/// <summary>
/// 序号
/// </summary>
[SugarColumn(ColumnName = "Index", ColumnDescription = "序号")]
public int? Index { get; set; }
/// <summary>
/// 名称
/// </summary>
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 32)]
public string? Name { get; set; }
/// <summary>
/// 编码
/// </summary>
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "编码", Length = 32)]
public string? CodeNum { get; set; }
/// <summary>
/// 仓库ID
/// </summary>
[SugarColumn(ColumnName = "WarehouseId", ColumnDescription = "仓库ID")]
public long? WarehouseId { get; set; }
/// <summary>
/// 类型
/// </summary>
[SugarColumn(ColumnName = "Type", ColumnDescription = "类型", Length = 32)]
public string? Type { get; set; }
/// <summary>
/// 企业信息
/// </summary>
[SugarColumn(ColumnName = "Information", ColumnDescription = "企业信息", Length = 64)]
public string? Information { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 64)]
public string? Remarks { get; set; }
}