schangxiang@126.com
2024-04-23 f47411fb53aeee0c7bd514cbc841f9030349f448
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
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace Admin.NET.Core
{
    /// <summary>
    /// 编号规则
    /// </summary> 
    [Table("les_serial_rule_detail")]
    [Comment("编号规则")]
    public class LesSerialRuleDetail : DEntityBase
   {
        /// <summary>
        /// 序号类别
        /// </summary>
        [Comment("序号类别")]
        [MaxLength(50)]
         public string SerialType { get; set; }
 
        /// <summary>
        /// 项次
        /// </summary>
        [Comment("项次")]
        public int ItemNo { get; set; }
 
        /// <summary>
        /// 资料来源
        /// </summary>
        [Comment("资料来源")]
        public string SourceType { get; set; }
 
        /// <summary>
        /// 长度
        /// </summary>
        [Comment("长度")]
        public int SerialLength { get; set; }
 
        /// <summary>
        /// 撷取码数(起)
        /// </summary>
        [Comment("撷取码数(起)")]
        public int SearchStart{ get; set; }
 
        /// <summary>
        /// 进位类型
        /// </summary>
        [Comment("进位类型")]
        public int DecimalType { get; set; }
 
        /// <summary>
        /// 使用者自定义
        /// </summary>
        [Comment("使用者自定义"), MaxLength(50)]
        public string UserDefine { get; set; }
 
        /// <summary>
        /// 序号编码
        /// </summary>
        [Comment("序号编码")]
        public YesOrNot SerialCodeFlag { get; set; } = YesOrNot.N;
 
        /// <summary>
        /// 说明
        /// </summary>
        [Comment("说明"), MaxLength(300)]
        public string Description { get; set; }
 
        /// <summary>
        /// 序号类别编号
        /// </summary>
        [Comment("序号类别编号")]
        [MaxLength(50)]
        public string SerialTypeNo { get; set; }
 
        /// <summary>
        /// 撷取
        /// </summary>
        [Comment("撷取")]
        [MaxLength(50)]
        public int GetData { get; set; }
 
        /// <summary>
        /// 自动补零
        /// </summary>
        [Comment("自动补零")]
        public int PadLeft { get; set; }   
 
}
}