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