package com.yuanchu.mom.pojo; import com.baomidou.mybatisplus.annotation.*; import java.time.LocalDateTime; import java.io.Serializable; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; /** *
* *
* * @author 江苏鵷雏网络科技有限公司 * @since 2023-08-01 */ @Data @EqualsAndHashCode(callSuper = false) @ApiModel(value="FinishedInspect对象", description="") public class FinishedInspect implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty(value = "主键", hidden = true) @TableId(value = "id", type = IdType.AUTO) private Integer id; @ApiModelProperty(value = "订单号", required = true, example = "DDH202308010001") private String orderNumber; @ApiModelProperty(value = "客户名称", required = true, example = "懒洋洋") private String customerName; @ApiModelProperty(value = "工程名称", required = true, example = "液体硅橡胶") private String projectName; @ApiModelProperty(value = "质量追溯号", required = true, example = "ZLZSH202308010001") private String qualityTraceability; @ApiModelProperty(value = "0:成品;1:过程;", hidden = true) private Integer type; @ApiModelProperty(value = "单位", required = true, example = "吨") private String unit; @ApiModelProperty(value = "数量", required = true, example = "50") private Integer quantity; @ApiModelProperty(value = "规格型号拼接字符", required = true, example = "8.7/15kV JLS-3.2") private String specificationsModel; @ApiModelProperty(value = "产品编码", required = true, example = "GX20230807") private String materialCode; @ApiModelProperty(value = "产品名称", required = true, example = "光纤") private String material; @ApiModelProperty(value = "报检人:用户id", required = true, example = "1") private Integer userId; @ApiModelProperty(value = "检验结论", hidden = true, required = true, example = "DDH202308010001") private Integer result; @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true) private Integer state; @TableField(fill = FieldFill.INSERT) @ApiModelProperty(value = "创建时间", hidden = true) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createTime; @TableField(fill = FieldFill.INSERT_UPDATE) @ApiModelProperty(value = "更新时间", hidden = true) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date updateTime; }