| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.basic.dto.StorageBlobDTO; |
| | | import com.ruoyi.basic.dto.StorageBlobVO; |
| | | 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; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 质量管理--不合格品管理 |
| | |
| | | */ |
| | | @TableName(value = "quality_unqualified") |
| | | @Data |
| | | public class QualityUnqualified implements Serializable { |
| | | public class QualityUnqualified extends DateQueryDto implements Serializable { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | |
| | | @Excel(name = "处理日期", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date dealTime; |
| | | |
| | | /** |
| | | * 原因分析 |
| | | */ |
| | | @Excel(name = "原因分析") |
| | | private String reasonAnalysis; |
| | | |
| | | /** |
| | | * 预防与纠正措施 |
| | | */ |
| | | @Excel(name = "预防与纠正措施") |
| | | private String preventiveCorrective; |
| | | |
| | | /** |
| | | * 工时损失 |
| | | */ |
| | | @Excel(name = "工时损失") |
| | | private String lossWorking; |
| | | |
| | | /** |
| | | * 材料费损失 |
| | | */ |
| | | @Excel(name = "材料费损失") |
| | | private String lossMaterial; |
| | | |
| | | |
| | | @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; |
| | | |
| | | @Schema(description = "关联检测id") |
| | | private Long inspectId; |
| | | |
| | | |
| | | @Schema(description = "是否不合格处理自己新增") |
| | | @TableField(exist = false) |
| | | private Boolean method; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | |
| | | @Schema(description = "关联产品型号id") |
| | | private Long productModelId; |
| | | |
| | | @Schema(description = "附件列表(新增/编辑时传入)") |
| | | @TableField(exist = false) |
| | | private List<StorageBlobDTO> storageBlobDTOs; |
| | | |
| | | @Schema(description = "附件列表(查询时返回)") |
| | | @TableField(exist = false) |
| | | private List<StorageBlobVO> storageBlobVOs; |
| | | } |