huminmin
2026-07-10 2ee9e158e3129070f6b1fd953da1540f05d4f2b0
src/main/java/com/ruoyi/quality/pojo/QualityUnqualified.java
@@ -4,10 +4,10 @@
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.dto.DateQueryDto;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@@ -47,7 +47,7 @@
    /**
     * 检测日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "检测日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;
@@ -99,6 +99,24 @@
    private String dealResult;
    /**
     * 不合格图片
     */
    @Excel(name = "不合格图片")
    private String photoUrls;
    @Schema(description = "不合格处理类型:0轻微返工,1严重返工,2报废")
    @Excel(name = "不合格处理类型", readConverterExp = "0=轻微返工,1=严重返工,2=报废")
    private Integer dealType;
    @Schema(description = "修理工时")
    @Excel(name = "修理工时")
    private BigDecimal repairWorkHour;
    @Schema(description = "是否重新生成新单:0否,1是")
    @Excel(name = "是否重新生成新单", readConverterExp = "0=否,1=是")
    private Integer regenerateNewOrder;
    /**
     * 处理人
     */
    @Excel(name = "处理人")
@@ -107,40 +125,43 @@
    /**
     * 处理日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "处理日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dealTime;
    @ApiModelProperty(value = "创建时间")
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @ApiModelProperty(value = "创建用户")
    @Schema(description = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
    @ApiModelProperty(value = "修改时间")
    @Schema(description = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @ApiModelProperty(value = "修改用户")
    @Schema(description = "修改用户")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
    @ApiModelProperty(value = "租户ID")
    @Schema(description = "租户ID")
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
    @ApiModelProperty("关联检测id")
    @Schema(description = "关联检测id")
    private Long inspectId;
    @ApiModelProperty("是否不合格处理自己新增")
    @Schema(description = "是否不合格处理自己新增")
    @TableField(exist = false)
    private Boolean method;
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
    @Schema(description = "关联产品型号id")
    private Long productModelId;
}