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
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
/// <summary>
|
/// 托盘编号
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "托盘编号")]
|
public string PalletCode { get; set; }
|
/// <summary>
|
/// 条码数量
|
/// </summary>
|
[SugarColumn(IsNullable = false, DefaultValue = "1", ColumnDescription = "打印数量")]
|
public int Qty { get; set; }
|
/// <summary>
|
/// 序号
|
/// </summary>
|
[SugarColumn(IsNullable = false, DefaultValue = "1", ColumnDescription = "打印数量")]
|
public int Code { get; set; }
|
/// <summary>
|
/// 打印次数
|
/// </summary>
|
[SugarColumn(IsNullable = false, DefaultValue = "2", ColumnDescription = "打印次数")]
|
public int PrintFrequency { get; set; }
|
/// <summary>
|
/// 宽
|
/// </summary>
|
[SugarColumn(IsNullable = false, DefaultValue = "500", ColumnDescription = "宽")]
|
public int Width { get; set; }
|
/// <summary>
|
/// 高
|
/// </summary>
|
[SugarColumn(IsNullable = false, DefaultValue = "150", ColumnDescription = "高")]
|
public int Height { get; set; }
|
/// <summary>
|
/// 字体大小
|
/// </summary>
|
[SugarColumn(IsNullable = false, DefaultValue = "28", ColumnDescription = "字体大小")]
|
public int Size { get; set; }
|
}
|
}
|