schangxiang@126.com
2024-11-21 60735779c303c2dd10feea45d7fd761103b225e0
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
using Admin.NET.Core;
 
/*
 * @author : 您的名字
 * @date : 2024/6/25下午2:19:00
 * @desc : 单号生成规则
 */
namespace Admin.NET.Application.Entity
{
    /// <summary>
    /// 单号生成规则
    /// </summary>
    [SugarTable("wms_config_no_rule", "单号生成规则")]
    public class WmsConfigNoRule : EntityBase
    {
 
 
        /// <summary>
        /// 规则编号
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "RuleCode", ColumnDescription = "规则编号", Length = 255)]
 
        public string RuleCode { get; set; }
 
 
        /// <summary>
        /// 规则名称
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "RuleName", ColumnDescription = "规则名称", Length = 255)]
 
        public string RuleName { get; set; }
 
 
        /// <summary>
        /// 单号规则
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "NoRule", ColumnDescription = "单号规则", Length = 255)]
 
        public string NoRule { get; set; }
 
 
        /// <summary>
        /// 单据类型
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "OrderType", ColumnDescription = "单据类型")]
        public OrderTypeEnum OrderType { get; set; }
 
 
        /// <summary>
        /// 业务类型
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "BusinessType", ColumnDescription = "业务类型")]
        public int? BusinessType { get; set; }
 
        /// <summary>
        /// 业务类型名称
        /// </summary>
        [SugarColumn(ColumnName = "BusinessTypeName", ColumnDescription = "业务类型名称", Length = 50)]
        public string? BusinessTypeName { get; set; }
 
        /// <summary>
        /// 流水号步长
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "SerialNoStepSize", ColumnDescription = "流水号步长")]
        public int SerialNoStepSize { get; set; }
 
 
        /// <summary>
        /// 流水号长度
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "SerialNoLength", ColumnDescription = "流水号长度")]
        public int SerialNoLength { get; set; }
 
 
        /// <summary>
        /// 条码规则描述
        /// </summary>
        [SugarColumn(ColumnName = "RuleDesc", ColumnDescription = "条码规则描述", Length = 255)]
 
        public string? RuleDesc { get; set; }
 
 
        /// <summary>
        /// 是否禁用
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "IsDisabled", ColumnDescription = "是否禁用")]
        public bool IsDisabled { get; set; }
 
 
 
 
 
 
 
 
 
    }
}