| New file |
| | |
| | | package cn.gistack.resource.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 考证附件表 |
| | | * |
| | | * @author zhongrj |
| | | * @date 2023-09-13 |
| | | */ |
| | | @Data |
| | | @TableName(value = "sm_textual_research_attach") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | public class TextualResearchAttach { |
| | | |
| | | /** |
| | | * id |
| | | */ |
| | | @ApiModelProperty(value = "id") |
| | | @TableId(value = "id",type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 名称 |
| | | */ |
| | | @ApiModelProperty(value = "名称") |
| | | private String name; |
| | | |
| | | /** |
| | | * 文件类型 |
| | | */ |
| | | @ApiModelProperty(value = "文件类型") |
| | | private Integer type; |
| | | |
| | | /** |
| | | * 路径 |
| | | */ |
| | | @ApiModelProperty(value = "路径") |
| | | private String path; |
| | | |
| | | /** |
| | | * 水库编号 |
| | | */ |
| | | @ApiModelProperty(value = "水库编号") |
| | | private String resGuid; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "创建时间") |
| | | private Date createTime; |
| | | } |