| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | 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.Data; |
| | | |
| | | import java.time.LocalDateTime; |
| | |
| | | */ |
| | | @Data |
| | | @TableName("notice") |
| | | @ApiModel |
| | | @Schema |
| | | public class Notice { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | |
| | | /** |
| | | * 公告标题 |
| | | */ |
| | | @ApiModelProperty("公告标题") |
| | | @Schema(description = "公告标题") |
| | | private String title; |
| | | |
| | | /** |
| | | * 公告类型(1放假通知 2设备维修通知) |
| | | * 公告类型 |
| | | */ |
| | | @ApiModelProperty("公告类型(1放假通知 2设备维修通知)") |
| | | @Schema(description = "公告类型") |
| | | private String type; |
| | | |
| | | /** |
| | | * 状态(0草稿 1发布 2已下线) |
| | | */ |
| | | @ApiModelProperty("状态(0草稿 1发布 2已下线)") |
| | | @Schema(description = "状态(0草稿 1发布 2已下线)") |
| | | private Integer status; |
| | | |
| | | /** |
| | | * 公告内容 |
| | | */ |
| | | @ApiModelProperty("公告内容") |
| | | @Schema(description = "公告内容") |
| | | private String content; |
| | | |
| | | /** |
| | | * 优先级(1普通 2重要 3紧急) |
| | | */ |
| | | @ApiModelProperty("优先级(1普通 2重要 3紧急)") |
| | | @Schema(description = "优先级(1普通 2重要 3紧急)") |
| | | private Integer priority; |
| | | |
| | | |
| | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty("备注") |
| | | @Schema(description = "备注") |
| | | private String remark; |
| | | |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | } |