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