提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.controller.admin.tenant.vo.tenant; |
H |
2 |
|
|
3 |
import com.iailab.framework.excel.core.annotations.DictFormat; |
|
4 |
import com.iailab.framework.excel.core.convert.DictConvert; |
|
5 |
import com.iailab.module.system.enums.DictTypeConstants; |
|
6 |
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
|
7 |
import com.alibaba.excel.annotation.ExcelProperty; |
|
8 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
9 |
import lombok.Data; |
|
10 |
|
|
11 |
import java.time.LocalDateTime; |
|
12 |
|
|
13 |
@Schema(description = "管理后台 - 租户 Response VO") |
|
14 |
@Data |
|
15 |
@ExcelIgnoreUnannotated |
|
16 |
public class TenantRespVO { |
|
17 |
|
|
18 |
@Schema(description = "租户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
19 |
@ExcelProperty("租户编号") |
|
20 |
private Long id; |
|
21 |
|
|
22 |
@Schema(description = "租户名", requiredMode = Schema.RequiredMode.REQUIRED, example = "平台") |
|
23 |
@ExcelProperty("租户名") |
|
24 |
private String name; |
|
25 |
|
|
26 |
@Schema(description = "联系人", requiredMode = Schema.RequiredMode.REQUIRED, example = "iailab") |
|
27 |
@ExcelProperty("联系人") |
|
28 |
private String contactName; |
|
29 |
|
|
30 |
@Schema(description = "联系手机", example = "15601691300") |
|
31 |
@ExcelProperty("联系手机") |
|
32 |
private String contactMobile; |
|
33 |
|
|
34 |
@Schema(description = "租户状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
35 |
@ExcelProperty(value = "状态", converter = DictConvert.class) |
|
36 |
@DictFormat(DictTypeConstants.COMMON_STATUS) |
|
37 |
private Integer status; |
|
38 |
|
|
39 |
@Schema(description = "绑定域名", example = "https://www.baidu.com") |
|
40 |
private String website; |
|
41 |
|
|
42 |
@Schema(description = "租户套餐编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
43 |
private Long packageId; |
|
44 |
|
|
45 |
@Schema(description = "过期时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
46 |
private LocalDateTime expireTime; |
|
47 |
|
|
48 |
@Schema(description = "账号数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
49 |
private Integer accountCount; |
|
50 |
|
|
51 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
52 |
@ExcelProperty("创建时间") |
|
53 |
private LocalDateTime createTime; |
|
54 |
|
|
55 |
} |