payne
2024-05-03 09542900534645e28c23f16caa94aa8a2c20cc5b
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
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace Admin.NET.Core
{
    [Table("base_SerialRuleDetail")]
    [Comment("单据号生成规则配置表")]
    public class BaseSerialRuleDetail : DEntityBase
    {
        /// <summary>
        /// 单据号编号,这个不是业务字段,纯粹是 标记下编号
        /// </summary>
        [Comment("单据号编号")]
        [Required, MaxLength(50)]
        public string SerialRuleNo { get; set; } = null!;
 
        /// <summary>
        /// 单据号类型
        /// </summary>
        [Comment("单据号类型")]
        [Required]
        public int SerialType { get; set; }
 
        /// <summary>
        /// 生成顺序号
        /// </summary>
        [Comment("生成顺序号")]
        [Required]
        public int ItemNo { get; set; }
 
        /// <summary>
        /// 组合类型
        /// </summary>
        [Comment("组合类型")]
        [Required, MaxLength(50)]
        public string SourceType { get; set; } = null!;
 
        /// <summary>
        /// 生成内容长度
        /// </summary>
        [Comment("组合类型长度")]
        [Required]
        public int SerialLength { get; set; }
 
        public int? SearchStart { get; set; }
 
        public int? DecimalType { get; set; }
 
        /// <summary>
        /// 单据号字符串内容
        /// </summary>
        [Comment("字符串内容")]
        [MaxLength(50)]
        public string? UserDefine { get; set; }
 
        public int? SerialCodeFlag { get; set; }
 
        /// <summary>
        /// 类型描述
        /// </summary>
        [Comment("类型描述")]
        [MaxLength(250)]
        public string? Description { get; set; }
 
        public string? SerialTypeNo { get; set; }
 
        /// <summary>
        /// 是否每天都重置(0:不重置,1:每天都重置)
        /// </summary>
        [Comment("是否每天都重置(0:不重置,1:每天都重置)")]
        public int? GetData { get; set; }
 
        /// <summary>
        /// 生成内容长度
        /// </summary>
        [Comment("文本靠边方向")]
        [Required]
        public int PadLeft { get; set; }
 
 
        public int? IssueStatus { get; set; }
 
    }
}