package com.yuanchu.limslaboratory.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.*;
|
import lombok.experimental.Accessors;
|
|
import java.util.Date;
|
import java.io.Serializable;
|
|
/**
|
* 基础项目模版表(ProductModel)表实体类
|
*
|
* @author zss
|
* @since 2023-08-19 11:00:40
|
*/
|
@Data
|
@Accessors(chain = true)
|
@AllArgsConstructor
|
@NoArgsConstructor
|
@EqualsAndHashCode(callSuper = false)
|
@Builder
|
@TableName("product_model")
|
public class ProductModel implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
**/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 项目名称
|
**/
|
private String name;
|
|
/**
|
* 项目父类
|
**/
|
private String father;
|
|
/**
|
* 单位
|
**/
|
private String unit;
|
|
@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;
|
|
/**
|
* 样品名称
|
**/
|
private String material;
|
}
|