提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.controller.admin.dict.vo.type; |
H |
2 |
|
|
3 |
import com.iailab.framework.common.pojo.PageParam; |
|
4 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
5 |
import lombok.Data; |
|
6 |
import lombok.EqualsAndHashCode; |
|
7 |
import org.springframework.format.annotation.DateTimeFormat; |
|
8 |
|
|
9 |
import javax.validation.constraints.Size; |
|
10 |
import java.time.LocalDateTime; |
|
11 |
|
|
12 |
import static com.iailab.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
|
13 |
|
|
14 |
@Schema(description = "管理后台 - 字典类型分页列表 Request VO") |
|
15 |
@Data |
|
16 |
@EqualsAndHashCode(callSuper = true) |
|
17 |
public class DictTypePageReqVO extends PageParam { |
|
18 |
|
|
19 |
@Schema(description = "字典类型名称,模糊匹配", example = "平台") |
|
20 |
private String name; |
|
21 |
|
|
22 |
@Schema(description = "字典类型,模糊匹配", example = "sys_common_sex") |
|
23 |
@Size(max = 100, message = "字典类型类型长度不能超过100个字符") |
|
24 |
private String type; |
|
25 |
|
|
26 |
@Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") |
|
27 |
private Integer status; |
|
28 |
|
|
29 |
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
|
30 |
@Schema(description = "创建时间") |
|
31 |
private LocalDateTime[] createTime; |
|
32 |
|
|
33 |
} |