package com.ruoyi.production.bean.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.production.pojo.ProductionAccount;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDate;
|
|
@Data
|
@Schema(name = "ProductionAccountDto", description = "生产核算查询参数")
|
public class ProductionAccountDto extends ProductionAccount {
|
|
@Schema(description = "销售合同号")
|
private String salesContractNo;
|
|
@Schema(description = "客户合同号")
|
private String customerContractNo;
|
|
@Schema(description = "项目名称")
|
private String projectName;
|
|
@Schema(description = "客户名称")
|
private String customerName;
|
|
@Schema(description = "产品类别")
|
private String productCategory;
|
|
@Schema(description = "规格型号")
|
private String specificationModel;
|
|
@Schema(description = "排产人员ID")
|
private Long schedulingUserId;
|
|
@Schema(description = "排产人员名称")
|
private String schedulingUserName;
|
|
@Schema(description = "工序")
|
private String process;
|
|
@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 = "按天查询日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private LocalDate entryDate;
|
|
@Schema(description = "日期范围")
|
private String[] dateRange;
|
|
@Schema(description = "开始日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private LocalDate entryDateStart;
|
|
@Schema(description = "结束日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private LocalDate entryDateEnd;
|
}
|