| | |
| | | package com.yuanchu.mom.pojo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | import com.baomidou.mybatisplus.extension.activerecord.Model; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.NoArgsConstructor; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * 成品/过程检验项目(InspectionItem)表实体类 |
| | | * |
| | | * </p> |
| | | * |
| | | * @author 江苏鵷雏网络科技有限公司 |
| | | * @since 2023-08-01 |
| | | * @author zss |
| | | * @since 2023-09-06 13:34:17 |
| | | */ |
| | | @Data |
| | | @Accessors(chain = true) |
| | | @AllArgsConstructor |
| | | @NoArgsConstructor |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @ApiModel(value="InspectionItem对象", description="") |
| | | public class InspectionItem extends Model<InspectionItem> implements Serializable { |
| | | |
| | | @TableName("inspection_item") |
| | | public class InspectionItem implements Serializable { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty(value = "主键") |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | /** |
| | | * 主键 |
| | | **/ |
| | | @TableId(type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "项目名称") |
| | | /** |
| | | * 项目名称 |
| | | **/ |
| | | private String name; |
| | | |
| | | @ApiModelProperty(value = "父名称") |
| | | /** |
| | | * 父名称 |
| | | **/ |
| | | private String father; |
| | | |
| | | @ApiModelProperty(value = "单位") |
| | | /** |
| | | * 单位 |
| | | **/ |
| | | private String unit; |
| | | |
| | | @ApiModelProperty(value = "标准值") |
| | | /** |
| | | * 标准值 |
| | | **/ |
| | | private String required; |
| | | |
| | | @ApiModelProperty(value = "内控值") |
| | | /** |
| | | * 内控值 |
| | | **/ |
| | | private String internal; |
| | | |
| | | @ApiModelProperty(value = "成品检验单Id") |
| | | private Integer finishInspectId; |
| | | |
| | | @ApiModelProperty(value = "检验值") |
| | | /** |
| | | * 检验值 |
| | | **/ |
| | | private String inspectionValue; |
| | | |
| | | @ApiModelProperty(value = "试验设备") |
| | | /** |
| | | * 试验设备Id 关联 |
| | | **/ |
| | | private Integer deviceId; |
| | | |
| | | @ApiModelProperty(value = "结论") |
| | | /** |
| | | * 结论 |
| | | **/ |
| | | private Integer result; |
| | | |
| | | @ApiModelProperty(value = "检验人") |
| | | /** |
| | | * 检验单Id |
| | | **/ |
| | | private Integer inspectId; |
| | | |
| | | /** |
| | | * 检验人 |
| | | **/ |
| | | private String username; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | /** |
| | | * 类型 1:过程;2:成品 |
| | | **/ |
| | | private Integer type; |
| | | |
| | | @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true) |
| | | @TableLogic(value = "1", delval = "0") |
| | | 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; |
| | | |
| | | |
| | | } |
| | | |