From 99132a43bf344f2aafdd9894b0762d2eedd9767b Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期二, 01 七月 2025 17:15:25 +0800 Subject: [PATCH] 修改 --- multi-system/src/main/java/com/gkhy/exam/system/domain/StandardizedTemplate.java | 73 ++++++++++++++++++++++++++++++++++++ 1 files changed, 73 insertions(+), 0 deletions(-) diff --git a/multi-system/src/main/java/com/gkhy/exam/system/domain/StandardizedTemplate.java b/multi-system/src/main/java/com/gkhy/exam/system/domain/StandardizedTemplate.java new file mode 100644 index 0000000..94d9a11 --- /dev/null +++ b/multi-system/src/main/java/com/gkhy/exam/system/domain/StandardizedTemplate.java @@ -0,0 +1,73 @@ +package com.gkhy.exam.system.domain; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Getter; +import lombok.Setter; + +import javax.validation.constraints.NotBlank; +import javax.validation.constraints.NotNull; +import java.io.Serializable; +import java.time.LocalDateTime; + +@Getter +@Setter +@TableName("standardized_template") +@ApiModel(value = "standardized_template",description = "标准化系统模板") +public class StandardizedTemplate implements Serializable { + + @ApiModelProperty("主键") + @TableId(value = "id", type = IdType.AUTO) + private Integer id; + + @NotNull(message = "企业Id不可为空") + @ApiModelProperty(value = "企业ID") + @TableField("company_id") + private Integer companyId; + + @ApiModelProperty(value = "企业名称") + @TableField("company_name") + private String companyName; + + @ApiModelProperty(value = "模板名称") + @TableField("template_name") + @NotBlank(message = "模板名称不可为空") + private String templateName; + + @ApiModelProperty(value = "类型1体系标准2技术标准3应用标准4程序文件5作业指导书6记录及表单7技术类8生产类9其他知识产权") + @TableField("template_type") + @NotNull(message = "类型不可为空") + private Integer templateType; + + @ApiModelProperty(value = "文件路径") + @TableField("file_path") + @NotBlank(message = "文件路径不可为空") + private String filePath; + + @ApiModelProperty(value = "文件格式") + @TableField("format") + @NotBlank(message = "文件格式不可为空") + private String format; + + @ApiModelProperty(value = "是否删除") + @TableField("del_flag") + private Integer delFlag; + + @TableField("create_by") + private String createBy; + + @TableField("create_time") + private LocalDateTime createTime; + + @TableField("update_by") + private String updateBy; + + @TableField("update_time") + private LocalDateTime updateTime; + + +} -- Gitblit v1.9.2