package com.ruoyi.production.bean.dto; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.math.BigDecimal; import java.util.Date; /** *
* 销售生产需求 Excel导入导出DTO *
* * @author deslrey * @version 1.0 * @since 2026/03/11 11:28 */ @Data @Schema(name = "销售生产需求 Excel导入导出DTO") public class ProductionPlanImportDto { /** * 申请单编号 */ @Schema(description = "申请单编号") @Excel(name = "申请单编号") private String applyNo; /** * 客户名称 */ @Schema(description = "客户名称") @Excel(name = "客户名称") private String customerName; /** * 物料编码 */ @Schema(description = "物料编码") @Excel(name = "物料编码") private String materialCode; /** * 产品名称 */ @Schema(description = "产品名称") @Excel(name = "产品名称") private String productName; /** * 产品规格 */ @Schema(description = "产品规格") @Excel(name = "产品规格") private String productSpec; /** * 长 */ @Schema(description = "长") @Excel(name = "长(mm)") private Integer length; /** * 宽 */ @Schema(description = "宽") @Excel(name = "宽(mm)") private Integer width; /** * 高 */ @Schema(description = "高") @Excel(name = "高(mm)") private Integer height; /** * 块数 */ @Schema(description = "块数") @Excel(name = "块数") private Integer quantity; /** * 方数 */ @Schema(description = "方数") @Excel(name = "方数") private BigDecimal volume; /** * 强度 */ @Schema(description = "强度") @Excel(name = "强度") private String strength; /** * 开始日期 */ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @Schema(description = "开始日期") @Excel(name = "开始日期", width = 20, dateFormat = "yyyy-MM-dd") private Date startDate; /** * 结束日期 */ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @Schema(description = "结束日期") @Excel(name = "结束日期", width = 20, dateFormat = "yyyy-MM-dd") private Date endDate; /** * 提交人 */ @Schema(description = "提交人") @Excel(name = "提交人") private String submitter; /** * 提交人组织 */ @Schema(description = "提交人组织") @Excel(name = "提交人组织") private String submitOrg; /** * 备注1 */ @Schema(description = "备注1") @Excel(name = "备注1") private String remarkOne; /** * 备注2 */ @Schema(description = "备注2") @Excel(name = "备注2") private String remarkTwo; /** * 创建人 */ @Schema(description = "创建人") @Excel(name = "创建人", type = Excel.Type.EXPORT) private String creatorName; /** * 修改人 */ @Schema(description = "修改人") @Excel(name = "修改人", type = Excel.Type.EXPORT) private String modifierName; /** * 数据同步类型:1=手动 2=定时任务 */ @Schema(description = "数据同步类型:1=手动 2=定时任务") private Integer dataSyncType; /** * 数据来源类型:1=同步 2=新增 */ @Schema(description = "数据来源类型:1=同步 2=新增") private Integer dataSourceType; /** * 下发数量 */ @Schema(description = "下发数量") @Excel(name = "下发数量", type = Excel.Type.EXPORT) private BigDecimal assignedQuantity; }