| | |
| | | import java.time.LocalDateTime; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | @Getter |
| | | @Setter |
| | | @TableName("safe_certification") |
| | | @ApiModel(value = "SafeCertification对象", description = "安全生产--安全规程与资质管理") |
| | | @Schema(name = "SafeCertification对象", description = "安全生产--安全规程与资质管理") |
| | | public class SafeCertification implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty("规程资质名称") |
| | | @Schema(description = "规程资质名称") |
| | | private String name; |
| | | |
| | | @ApiModelProperty("规程资质编号") |
| | | @Schema(description = "规程资质编号") |
| | | private String code; |
| | | |
| | | @ApiModelProperty("规程资质类型") |
| | | @Schema(description = "规程资质类型") |
| | | private String type; |
| | | |
| | | @ApiModelProperty("版本号") |
| | | @Schema(description = "版本号") |
| | | private String version; |
| | | |
| | | @ApiModelProperty("备注") |
| | | @Schema(description = "备注") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty("有效期") |
| | | @Schema(description = "有效期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate effectiveTime; |