提交 | 用户 | 时间
|
722af2
|
1 |
package com.dl.demo.domain.bo; |
X |
2 |
|
|
3 |
import com.alibaba.excel.annotation.ExcelProperty; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import javax.validation.constraints.NotBlank; |
|
7 |
import javax.validation.constraints.NotNull; |
|
8 |
|
|
9 |
/** |
|
10 |
* 测试单表业务对象 test_demo |
|
11 |
* |
|
12 |
* @author Lion Li |
|
13 |
* @date 2021-07-26 |
|
14 |
*/ |
|
15 |
@Data |
|
16 |
public class TestDemoImportVo { |
|
17 |
|
|
18 |
/** |
|
19 |
* 部门id |
|
20 |
*/ |
|
21 |
@NotNull(message = "部门id不能为空") |
|
22 |
@ExcelProperty(value = "部门id") |
|
23 |
private Long deptId; |
|
24 |
|
|
25 |
/** |
|
26 |
* 用户id |
|
27 |
*/ |
|
28 |
@NotNull(message = "用户id不能为空") |
|
29 |
@ExcelProperty(value = "用户id") |
|
30 |
private Long userId; |
|
31 |
|
|
32 |
/** |
|
33 |
* 排序号 |
|
34 |
*/ |
|
35 |
@NotNull(message = "排序号不能为空") |
|
36 |
@ExcelProperty(value = "排序号") |
|
37 |
private Long orderNum; |
|
38 |
|
|
39 |
/** |
|
40 |
* key键 |
|
41 |
*/ |
|
42 |
@NotBlank(message = "key键不能为空") |
|
43 |
@ExcelProperty(value = "key键") |
|
44 |
private String testKey; |
|
45 |
|
|
46 |
/** |
|
47 |
* 值 |
|
48 |
*/ |
|
49 |
@NotBlank(message = "值不能为空") |
|
50 |
@ExcelProperty(value = "值") |
|
51 |
private String value; |
|
52 |
|
|
53 |
} |