提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.infra.controller.admin.demo.demo02.vo; |
H |
2 |
|
|
3 |
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
|
4 |
import com.alibaba.excel.annotation.ExcelProperty; |
|
5 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
6 |
import lombok.Data; |
|
7 |
|
|
8 |
import java.time.LocalDateTime; |
|
9 |
|
|
10 |
@Schema(description = "管理后台 - 示例分类 Response VO") |
|
11 |
@Data |
|
12 |
@ExcelIgnoreUnannotated |
|
13 |
public class Demo02CategoryRespVO { |
|
14 |
|
|
15 |
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10304") |
|
16 |
@ExcelProperty("编号") |
|
17 |
private Long id; |
|
18 |
|
|
19 |
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "iailab") |
|
20 |
@ExcelProperty("名字") |
|
21 |
private String name; |
|
22 |
|
|
23 |
@Schema(description = "父级编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "6080") |
|
24 |
@ExcelProperty("父级编号") |
|
25 |
private Long parentId; |
|
26 |
|
|
27 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
28 |
@ExcelProperty("创建时间") |
|
29 |
private LocalDateTime createTime; |
|
30 |
|
|
31 |
} |