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
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 = "0", ColumnDescription = "打印状态")]
        public int Status { get; set; }
 
        [SugarColumn(IsNullable = false, DefaultValue = "500", ColumnDescription = "宽")]
        public int Width { get; set; }
 
        [SugarColumn(IsNullable = false, DefaultValue = "100", ColumnDescription = "高")]
        public int Height { get; set; }
 
        [SugarColumn(IsNullable = false, DefaultValue = "28", ColumnDescription = "字体大小")]
        public int Size { get; set; }
    }
}