| | |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDate; |
| | | |
| | | @Data |
| | | @Schema(name = "ProductionAccountDto", description = "production account query dto") |
| | | @Schema(name = "ProductionAccountDto", description = "生产核算查询参数") |
| | | public class ProductionAccountDto extends ProductionAccount { |
| | | |
| | | @Schema(description = "sales contract no") |
| | | @Schema(description = "销售合同号") |
| | | private String salesContractNo; |
| | | |
| | | @Schema(description = "customer contract no") |
| | | @Schema(description = "客户合同号") |
| | | private String customerContractNo; |
| | | |
| | | @Schema(description = "project name") |
| | | @Schema(description = "项目名称") |
| | | private String projectName; |
| | | |
| | | @Schema(description = "customer name") |
| | | @Schema(description = "客户名称") |
| | | private String customerName; |
| | | |
| | | @Schema(description = "product category") |
| | | @Schema(description = "产品类别") |
| | | private String productCategory; |
| | | |
| | | @Schema(description = "specification model") |
| | | @Schema(description = "规格型号") |
| | | private String specificationModel; |
| | | |
| | | @Schema(description = "scheduling user id") |
| | | @Schema(description = "排产人员ID") |
| | | private Long schedulingUserId; |
| | | |
| | | @Schema(description = "scheduling user name") |
| | | @Schema(description = "排产人员名称") |
| | | private String schedulingUserName; |
| | | |
| | | @Schema(description = "process") |
| | | @Schema(description = "工序") |
| | | private String process; |
| | | |
| | | @Schema(description = "date type(day/month)") |
| | | @Schema(description = "工资修正金额") |
| | | private BigDecimal adjustAmount; |
| | | |
| | | @Schema(description = "工资修正说明") |
| | | private String adjustRemark; |
| | | |
| | | @Schema(description = "修正人") |
| | | private Long adjustUser; |
| | | |
| | | @Schema(description = "报工结果类型:0合格,1轻微返工,2严重返工,3报废") |
| | | private Integer reportType; |
| | | |
| | | @Schema(description = "审核状态:0待审核,1审核通过,2审核不通过") |
| | | private Integer auditStatus; |
| | | |
| | | @Schema(description = "日期类型(按天/按月)") |
| | | private String dateType; |
| | | |
| | | @Schema(description = "day query date") |
| | | @Schema(description = "按天查询日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate entryDate; |
| | | |
| | | @Schema(description = "date range") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate[] dateRange; |
| | | @Schema(description = "日期范围") |
| | | private String[] dateRange; |
| | | |
| | | @Schema(description = "start date") |
| | | @Schema(description = "开始日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate entryDateStart; |
| | | |
| | | @Schema(description = "end date") |
| | | @Schema(description = "结束日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate entryDateEnd; |