huminmin
4 天以前 5cc9695f7c927779e97bb406e8515ed7b8a07195
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
package com.ruoyi.productionPlan.pojo;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * <br>
 * 销售生产需求
 * </br>
 *
 * @author deslrey
 * @version 1.0
 * @since 2026/03/10 9:54
 */
@Data
@TableName("production_plan")
public class ProductionPlan {
 
    /**
     * 自增主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
 
    /**
     * 表单实例ID
     */
    private String formInstanceId;
 
    /**
     * 单据流水号
     */
    private String serialNo;
 
    /**
     * 单据标题
     */
    private String title;
 
    /**
     * 发起人ID
     */
    private String originatorUserId;
 
    /**
     * 发起人姓名
     */
    private String originatorName;
 
    /**
     * 单据创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime bizCreateTime;
 
    /**
     * 项目名称
     */
    private String projectName;
 
    /**
     * 批次号
     */
    private String batchNo;
 
    /**
     * 联系人
     */
    private String contactPerson;
 
    /**
     * 预留1
     */
    private String extText1;
 
    /**
     * 预留2
     */
    private String extText2;
 
    /**
     * 物料编码
     */
    private String materialCode;
 
    /**
     * 物料分类
     */
    private String materialCategory;
 
    /**
     * 规格描述
     */
    private String specDesc;
 
    /**
     * 等级
     */
    private String gradeType;
 
    /**
     * 长度
     */
    private BigDecimal length;
 
    /**
     * 宽度
     */
    private BigDecimal width;
 
    /**
     * 厚度
     */
    private BigDecimal thickness;
 
    /**
     * 数量
     */
    private Integer quantity;
 
    /**
     * 总体积
     */
    private BigDecimal volume;
 
    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dateStart;
 
    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dateEnd;
 
    /**
     * 关联单据
     */
    private String associationReceipt;
 
    /**
     * 数据方式: 1=手动 2=定时
     */
    private Integer dataSyncType;
 
    /**
     * 数据来源: 1=销售订单 2=生产预测
     */
    private Integer dataSourceType;
 
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
 
}