package com.ruoyi.inspect.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; /** * * @TableName ins_order_template */ @TableName(value ="ins_order_template") @Data public class InsOrderTemplate implements Serializable { /** * */ @Schema(description = "主键") @TableId(type = IdType.AUTO) private Integer id; /** * 模板名称 */ @Schema(description = "模板名称") private String name; /** * 模板内容 */ @Schema(description = "模板内容") private String thing; @Schema(description = "绑定的标准库二级标准ID") private Integer standardTreeId; @Schema(description = "创建人") @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; }