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 java.io.Serializable; import java.time.LocalDateTime; import java.util.List; /** * 标准方法 * @TableName standard_method */ @TableName(value ="standard_method") @Data @Schema(description = "标准方法") public class StandardMethod implements Serializable { /** * */ @TableId(type = IdType.AUTO) @Schema(description = "标准方法ID") private Integer id; @Schema(description = "领域") private String field; @Schema(description = "检验对象") private String structureTestObjectId; /** 标准库一级行业ID(仅接口交互,不落standard_method表) */ @Schema(description = "标准库一级行业ID") @TableField(exist = false) private List industryIds; /** 已绑定行业名称(列表展示) */ @Schema(description = "已绑定行业名称") @TableField(exist = false) private String industryNames; /** 附件数量(列表展示) */ @Schema(description = "附件数量") @TableField(exist = false) private Integer attachmentCount; /** * 标准编号 */ @Schema(description = "标准编号") private String code; /** * 标准方法 */ @Schema(description = "标准描述") private String name; @Schema(description = "标准描述EN") private String nameEn; /** * 备注 */ @Schema(description = "备注") private String remark; @Schema(description = "资质") private String qualificationId; @Schema(description = "是否产品标准") private Integer isProduct; @Schema(description = "是否启用") private Integer isUse; @Schema(description = "是否查新(0否,1是)") private Integer needSearchNew; @Schema(description = "创建人id") @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "修改人id") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @Schema(description = "创建人") @TableField(exist = false,select = false) private String createUserName; @Schema(description = "更新人") @TableField(exist = false,select = false) private String updateUserName; @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; }