94 lines
3.1 KiB
C#

using Seyounth.Hyosung.Data.Models;
using SqlSugar;
namespace Seyounth.Hyosung.Data.Entities;
[SugarTable("system_variety", TableDescription = "品种表")]
public class VarietyEntity
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
[SugarColumn(ColumnDescription = "品种代码")]
public string Code { get; set; }
[SugarColumn(ColumnDescription = "Lot")]
public int Lot { get; set; }
[SugarColumn(ColumnDescription = "规格")]
public string Specifications { get; set; }
[SugarColumn(ColumnDescription = "纸管内径")]
public int InnerDiameter { get; set; }
[SugarColumn(ColumnDescription = "纸管外径")]
public int OuterDiameter { get; set; }
[SugarColumn(ColumnDescription = "纱直径")]
public int YarnDiameter { get; set; }
[SugarColumn(ColumnDescription = "纸筒高度")]
public int PaperTubeHeight { get; set; }
[SugarColumn(ColumnDescription = "纱丝厚度")]
public int YarnThickness { get; set; }
[SugarColumn(ColumnDescription = "单筒重量")]
public double SingleWeight { get; set; }
[SugarColumn(ColumnDescription = "码垛层数")]
public int StackingLayers { get; set; }
[SugarColumn(ColumnDescription = "总数量")]
public int TotalCount { get; set; }
[SugarColumn(ColumnDescription = "中间蜂窝板ID")]
public int MiddlePalletId { get; set; }
[SugarColumn(ColumnDescription = "上下蜂窝板ID")]
public int TopAndBottomPalletId { get; set; }
[SugarColumn(ColumnDescription = "托盘ID")]
public int TrayId { get; set; }
[SugarColumn(ColumnDescription = "垛头尺寸")]
public string? StackHeadSpec { get; set; }
[SugarColumn(ColumnDescription = "垛头数量")]
public int? StackHeadCount { get; set; }
[SugarColumn(ColumnDescription = "纸托Id", IsNullable = true)]
public int? PaperTrayId { get; set; }
[SugarColumn(ColumnDescription = "是否需要纸箱")]
public bool HasBox { get; set; }
[SugarColumn(ColumnDescription = "是否需要顶板")]
public NeedType NeedTopBoard { get; set; }
[SugarColumn(ColumnDescription = "是否需要护角")]
public NeedType NeedAngleBeam { get; set; }
[SugarColumn(ColumnDescription = "是否需要打包带")]
public NeedType NeedPackStrap { get; set; }
[SugarColumn(ColumnDescription = "是否需要缠膜")]
public NeedType NeedFilmWrapping { get; set; }
[SugarColumn(ColumnDescription = "是否需要覆膜")]
public NeedType NeedFilmCoating { get; set; }
[SugarColumn(ColumnDescription = "主标签数量")]
public int MasterLabelCount { get; set; }
[SugarColumn(ColumnDescription = "副标签数量")]
public int SubLabelCount { get; set; }
[SugarColumn(IsNullable = true)] public int? LastNo { get; set; }
[SugarColumn(IsNullable = true)] public double? NetWeight { get; set; }
[SugarColumn(IsNullable = true)] public double? GrossWeight { get; set; }
[SugarColumn(IsNullable = true)] public bool? IsBlack { get; set; }
}