src/main/java/com/ruoyi/production/bean/dto/ProductionProductMainDto.java
@@ -1,67 +1,68 @@
package com.ruoyi.production.bean.dto;
import com.ruoyi.production.pojo.ProductionOrderRoutingOperationParam;
import com.ruoyi.production.pojo.ProductionProductMain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
@EqualsAndHashCode(callSuper = true)
@Data
public class ProductionProductMainDto {
    @Schema(description = "主键ID")
    private Long id;
    @Schema(description = "产品编号")
    private String productNo;
    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "用户名称")
    private String userName;
@Schema(name = "ProductionProductMainDto", description = "生产报工查询对象")
public class ProductionProductMainDto extends ProductionProductMain {
    @Schema(description = "产品工艺路线明细ID")
    private Long productProcessRouteItemId;
    @Schema(description = "工单ID")
    private Long workOrderId;
    @Schema(description = "生产工序任务ID")
    private Long productionOperationTaskId;
    @Schema(description = "状态")
    private Integer status;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    @Schema(description = "生产报工表id")
    private Long productMainId;
    @Schema(description = "租户ID")
    private Long tenantId;
    @Schema(description = "创建人")
    private Integer createUser;
    @Schema(description = "更新人")
    private Integer updateUser;
    @Schema(description = "部门ID")
    private Long deptId;
    @Schema(description = "工单编号")
    private String workOrderNo;
    @Schema(description = "工单状态")
    private String workOrderStatus;
    @Schema(description = "昵称")
    private String nickName;
    @Schema(description = "数量")
    private BigDecimal quantity;
    @Schema(description = "报废数量")
    private BigDecimal scrapQty;
    @Schema(description = "产品名称")
    private String productName;
    @Schema(description = "产品型号名称")
    private String productModelName;
    @Schema(description = "单位")
    private String unit;
    @Schema(description = "销售合同编号")
    private String salesContractNo;
    @Schema(description = "排产日期")
    private LocalDate schedulingDate;
    @Schema(description = "排产人员名称")
    private String schedulingUserName;
    @Schema(description = "客户名称")
    private String customerName;
    @Schema(description = "工序")
    private String process;
    @Schema(description = "工序参数列表")
    private List<ProductionOrderRoutingOperationParam> productionOperationParamList;
}