| | |
| | | package com.yuanchu.limslaboratory.pojo; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.FieldFill; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableLogic; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.*; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * 申请表(Inspection)表实体类 |
| | | * |
| | | * </p> |
| | | * |
| | | * @author 江苏鵷雏网络科技有限公司 |
| | | * @since 2023-07-17 |
| | | * @author zss |
| | | * @since 2023-08-03 13:04:05 |
| | | */ |
| | | @Data |
| | | @Accessors(chain = true) |
| | | @AllArgsConstructor |
| | | @NoArgsConstructor |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @ApiModel(value="Inspection对象", description="") |
| | | @Builder |
| | | @TableName("inspection") |
| | | public class Inspection implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty(value = "报检编号") |
| | | private String id; |
| | | /** |
| | | * 申请单编号 |
| | | **/ |
| | | @TableId(type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "报检状态 1:已检验;0未检验") |
| | | /** |
| | | * 申请单编码 |
| | | **/ |
| | | private String code; |
| | | |
| | | /** |
| | | * 检验类型 0:原材料;1:产品;2:半成品; |
| | | **/ |
| | | private Integer type; |
| | | |
| | | /** |
| | | * 检验状态:1:合格;0:不合格 |
| | | **/ |
| | | private Integer inspectionStatus; |
| | | |
| | | @ApiModelProperty(value = "是否合格 1:是;0否") |
| | | private Integer qualifiedState; |
| | | |
| | | @ApiModelProperty(value = "1:待提交;2:已提交;0:已作废") |
| | | @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") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", 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") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date updateTime; |
| | | |
| | | private Integer version; |
| | | /** |
| | | * 关联 登记人(用户id) |
| | | **/ |
| | | private Integer userId; |
| | | |
| | | @ApiModelProperty(value = "报检人") |
| | | private String userName; |
| | | /** |
| | | * 检验开始日期 |
| | | **/ |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date startTime; |
| | | |
| | | @ApiModelProperty(value = "关联 检验人(用户id)") |
| | | private Integer inspectUserId; |
| | | |
| | | @ApiModelProperty(value = "检验开始日期") |
| | | private LocalDateTime inspectStartTime; |
| | | |
| | | @ApiModelProperty(value = "检验结束日期") |
| | | private LocalDateTime inspectEndTime; |
| | | |
| | | @ApiModelProperty(value = "报检数量-物料数量") |
| | | private Integer materialNum; |
| | | |
| | | @ApiModelProperty(value = "供应商") |
| | | private String materialSupplier; |
| | | |
| | | @ApiModelProperty(value = "物料名称") |
| | | private String materialName; |
| | | |
| | | @ApiModelProperty(value = "物料存放地") |
| | | private String materialLocation; |
| | | |
| | | @ApiModelProperty(value = "物料批次") |
| | | private String materialBatch; |
| | | |
| | | @ApiModelProperty(value = "物料盘号") |
| | | private String materialReelNumber; |
| | | |
| | | @ApiModelProperty(value = "规格名称/型号名称") |
| | | private String specificationsSerialNumber; |
| | | |
| | | @ApiModelProperty(value = "电压等级") |
| | | private String specificationsVoltageLevel; |
| | | |
| | | @ApiModelProperty(value = "主线心截面") |
| | | private String specificationsCrossSection; |
| | | |
| | | @ApiModelProperty(value = "主线芯芯数") |
| | | private String specificationsNumberOfCores; |
| | | |
| | | @ApiModelProperty(value = "生产指令号") |
| | | private String specificationsInstruct; |
| | | |
| | | |
| | | /** |
| | | * 检验结束日期 |
| | | **/ |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date endTime; |
| | | } |
| | | |