2026-04-23 c247f5bf64c98595cc7e4efc9e1ae7ff1df79c11
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
package com.ruoyi.production.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
 * <p>
 * 生产订单表
 * </p>
 *
 * @author 芯导软件(江苏)有限公司
 * @since 2026-04-21 03:55:52
 */
@Data
@TableName("production_order")
@Schema(name = "ProductionOrder对象", description = "生产订单表")
public class ProductionOrder implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @Schema(description = "销售台账id")
    private Long salesLedgerId;
 
    @Schema(description = "生产计划ID列表,格式:[1,2,3]")
    private String productionPlanIds;
 
    @Schema(description = "产品规格id")
    private Long productModelId;
 
    @Schema(description = "生产订单号")
    private String npsNo;
 
    @Schema(description = "录入时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    @Schema(description = "工艺路线id")
    private Long technologyRoutingId;
 
    @Schema(description = "需求数量")
    private BigDecimal quantity;
 
    @Schema(description = "完成数量")
    private BigDecimal completeQuantity;
 
    @Schema(description = "开始日期")
    private LocalDateTime startTime;
 
    @Schema(description = "结束日期")
    private LocalDateTime endTime;
 
    @Schema(description = "销售产品规格id")
    private Integer saleLedgerProductId;
 
    @Schema(description = "创建人ID")
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
 
    @Schema(description = "部门ID")
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
 
    @Schema(description = "计划完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate planCompleteTime;
 
    @Schema(description = "状态(1.待开始、2.进行中、3.已完成、4.已取消)")
    private Integer status;
 
    @Schema(description = "强度")
    private String strength;
}