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 applyNo;
|
|
/**
|
* 客户名称
|
*/
|
private String customerName;
|
|
/**
|
* 物料编码
|
*/
|
private String materialCode;
|
|
/**
|
* 产品名称
|
*/
|
private String productName;
|
|
/**
|
* 产品规格
|
*/
|
private String productSpec;
|
|
/**
|
* 长
|
*/
|
private Integer length;
|
|
/**
|
* 宽
|
*/
|
private Integer width;
|
|
/**
|
* 高
|
*/
|
private Integer height;
|
|
/**
|
* 块数
|
*/
|
private Integer quantity;
|
|
/**
|
* 方数
|
*/
|
private BigDecimal volume;
|
|
/**
|
* 强度
|
*/
|
private String strength;
|
|
/**
|
* 开始日期
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime startDate;
|
|
/**
|
* 结束日期
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime endDate;
|
|
/**
|
* 提交人
|
*/
|
private String submitter;
|
|
/**
|
* 提交人组织
|
*/
|
private String submitOrg;
|
|
/**
|
* 备注1
|
*/
|
private String remarkOne;
|
|
/**
|
* 备注2
|
*/
|
private String remarkTwo;
|
|
/**
|
* 创建人
|
*/
|
private String creatorName;
|
|
/**
|
* 修改人
|
*/
|
private String modifierName;
|
|
/**
|
* 表单创建时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime formCreatedTime;
|
|
/**
|
* 表单修改时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime formModifiedTime;
|
|
/**
|
* 数据同步类型:1=手动 2=定时任务
|
*/
|
private Integer dataSyncType;
|
|
/**
|
* 数据来源类型:1=销售订单 2=销售预测
|
*/
|
private Integer dataSourceType;
|
|
/**
|
* 数据库创建时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime createTime;
|
|
/**
|
* 数据库更新时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime updateTime;
|
|
/**
|
* 当前更新数量
|
*/
|
private Integer totalCount;
|
}
|