liyong
5 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
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
package com.ruoyi.production.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
 * <p>
 * 生产计划表
 * </p>
 *
 * @author 芯导软件(江苏)有限公司
 * @since 2026-04-21 02:11:10
 */
@Getter
@Setter
@TableName("production_plan")
@Schema(name = "ProductionPlan对象", description = "生产计划表")
public class ProductionPlan implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Schema(description = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @Schema(description = "销售台账id")
    private Long salesLedgerId;
 
    @Schema(description = "销售产品规格id")
    private Long salesLedgerProductId;
 
    @Schema(description = "主生产计划号")
    private String mpsNo;
 
    @Schema(description = "需求日期")
    private LocalDate requiredDate;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    @Schema(description = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
 
    @Schema(description = "修改用户")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
 
    @Schema(description = "部门ID")
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
 
    @Schema(description = "产品型号id")
    private Long productModelId;
 
    @Schema(description = "需求数量")
    private BigDecimal qtyRequired;
 
    @Schema(description = "已下发数量")
    private BigDecimal quantityIssued;
 
    @Schema(description = "来源 销售/内部")
    private String source;
 
    @Schema(description = "承诺日期")
    private LocalDate promisedDeliveryDate;
 
    @Schema(description = "状态 0未下发 1部分下发 2已下发")
    private Integer status;
}