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;
|
}
|