liyong
16 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
src/main/java/com/ruoyi/production/pojo/ProductionPlan.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,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;
}