dengjunjie
2025-07-09 7ca9651f81d7b84f054194d3d46fdbd1d9c8b922
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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; }
    }
}