package com.ruoyi.basic.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; import java.time.LocalDateTime; /** * 实验室管理(Laboratory)表对象 */ @TableName(value = "laboratory") @Data @NoArgsConstructor public class Laboratory implements Serializable { @Schema(description = "主键") @TableId(type = IdType.AUTO) private Integer id; @Schema(description = "实验室名称") private String laboratoryName; @Schema(description = "场所编码") private String laboratoryNumber; @Schema(description = "实验室代号") private String laboratoryCode; @Schema(description = "负责人电话") private String phoneNumber; @Schema(description = "负责人") @TableField(fill = FieldFill.INSERT) private String head; @Schema(description = "地址") private String address; @Schema(description = "创建人") @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "创建人") private String createUserName; @Schema(description = "修改人id") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; @Schema(description = "更新时间") @TableField(fill = FieldFill.INSERT_UPDATE) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime updateTime; }