using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { [SugarTable(nameof(Dt_PalletCodeInfo), "托盘码信息")] public class Dt_PalletCodeInfo:BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 托盘编号 /// [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "托盘编号")] public string PalletCode { get; set; } /// /// 条码数量 /// [SugarColumn(IsNullable = false, DefaultValue = "1", ColumnDescription = "打印数量")] public int Qty { get; set; } /// /// 序号 /// [SugarColumn(IsNullable = false, DefaultValue = "1", ColumnDescription = "打印数量")] public int Code { get; set; } /// /// 打印次数 /// [SugarColumn(IsNullable = false, DefaultValue = "2", ColumnDescription = "打印次数")] public int PrintFrequency { get; set; } /// /// 宽 /// [SugarColumn(IsNullable = false, DefaultValue = "500", ColumnDescription = "宽")] public int Width { get; set; } /// /// 高 /// [SugarColumn(IsNullable = false, DefaultValue = "150", ColumnDescription = "高")] public int Height { get; set; } /// /// 字体大小 /// [SugarColumn(IsNullable = false, DefaultValue = "28", ColumnDescription = "字体大小")] public int Size { get; set; } } }