package com.yuanchu.mom.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.*;
|
import lombok.experimental.Accessors;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
import java.io.Serializable;
|
|
/**
|
* 不合格品检验表(InspectUnaccepted)表实体类
|
*
|
* @author zss
|
* @since 2023-08-07 10:04:01
|
*/
|
@Data
|
@Accessors(chain = true)
|
@AllArgsConstructor
|
@NoArgsConstructor
|
@EqualsAndHashCode(callSuper = false)
|
@Builder
|
@TableName("inspect_unaccepted")
|
public class InspectUnaccepted implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
**/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
@ApiModelProperty(value = "1:成品检验单;2半成品检验单;0:原材料检验单")
|
private Integer type;
|
|
/**
|
* 缺陷名称(理由)
|
**/
|
private String reason;
|
|
/**
|
* 处理状态 0:待处理;1:已处理
|
**/
|
private Integer dealState;
|
|
/**
|
* 处理结果 0:不通过;1:通过
|
**/
|
private Integer dealReasult;
|
|
/**
|
* 处理日期
|
**/
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date dealTime;
|
|
@ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
|
private Integer state;
|
|
|
@TableField(fill = FieldFill.INSERT)
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date createTime;
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date updateTime;
|
|
/**
|
* 关联 检验单id
|
**/
|
private Integer rawInspectId;
|
|
|
|
/**
|
* 现象描述
|
**/
|
private String tell;
|
}
|