提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.dal.dataobject.tenant; |
H |
2 |
|
d9f9ba
|
3 |
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; |
e7c126
|
4 |
import com.iailab.framework.common.enums.CommonStatusEnum; |
H |
5 |
import com.iailab.framework.mybatis.core.dataobject.BaseDO; |
|
6 |
import com.baomidou.mybatisplus.annotation.KeySequence; |
|
7 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
8 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
9 |
import lombok.*; |
|
10 |
|
874287
|
11 |
import java.util.List; |
e7c126
|
12 |
import java.util.Set; |
H |
13 |
|
|
14 |
/** |
|
15 |
* 租户套餐 DO |
|
16 |
* |
|
17 |
* @author iailab |
|
18 |
*/ |
|
19 |
@TableName(value = "system_tenant_package", autoResultMap = true) |
|
20 |
@KeySequence("system_tenant_package_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。 |
|
21 |
@Data |
|
22 |
@EqualsAndHashCode(callSuper = true) |
|
23 |
@ToString(callSuper = true) |
|
24 |
@Builder |
|
25 |
@AllArgsConstructor |
|
26 |
@NoArgsConstructor |
|
27 |
public class TenantPackageDO extends BaseDO { |
|
28 |
|
|
29 |
/** |
|
30 |
* 套餐编号,自增 |
|
31 |
*/ |
|
32 |
private Long id; |
|
33 |
/** |
|
34 |
* 套餐名,唯一 |
|
35 |
*/ |
|
36 |
private String name; |
|
37 |
/** |
|
38 |
* 租户套餐状态 |
|
39 |
* |
|
40 |
* 枚举 {@link CommonStatusEnum} |
|
41 |
*/ |
|
42 |
private Integer status; |
|
43 |
/** |
874287
|
44 |
* 套餐图标 |
H |
45 |
*/ |
|
46 |
private String icon; |
|
47 |
/** |
|
48 |
* 套餐标签 |
|
49 |
*/ |
|
50 |
@TableField(typeHandler = JacksonTypeHandler.class) |
|
51 |
private List<String> labels; |
|
52 |
/** |
|
53 |
* 套餐介绍 |
|
54 |
*/ |
|
55 |
private String description; |
|
56 |
/** |
e7c126
|
57 |
* 备注 |
H |
58 |
*/ |
|
59 |
private String remark; |
|
60 |
/** |
|
61 |
* 关联的菜单编号 |
|
62 |
*/ |
d9f9ba
|
63 |
@TableField(typeHandler = JacksonTypeHandler.class) |
e7c126
|
64 |
private Set<Long> menuIds; |
H |
65 |
|
|
66 |
} |