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.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 String dateType;
|
|
@Schema(description = "按天查询日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private LocalDate entryDate;
|
|
@Schema(description = "日期范围")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private LocalDate[] 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;
|
}
|