提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.bpm.dal.dataobject.definition; |
H |
2 |
|
bb2880
|
3 |
import com.baomidou.mybatisplus.annotation.KeySequence; |
e7c126
|
4 |
import com.baomidou.mybatisplus.annotation.TableField; |
H |
5 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
6 |
import com.baomidou.mybatisplus.annotation.TableName; |
bb2880
|
7 |
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; |
H |
8 |
import com.iailab.framework.common.enums.CommonStatusEnum; |
|
9 |
import com.iailab.framework.mybatis.core.dataobject.BaseDO; |
e7c126
|
10 |
import lombok.AllArgsConstructor; |
H |
11 |
import lombok.Builder; |
|
12 |
import lombok.Data; |
|
13 |
import lombok.NoArgsConstructor; |
|
14 |
|
|
15 |
import java.util.Set; |
|
16 |
|
|
17 |
/** |
|
18 |
* BPM 用户组 |
|
19 |
* |
|
20 |
* @author iailab |
|
21 |
*/ |
|
22 |
@TableName(value = "bpm_user_group", autoResultMap = true) |
bb2880
|
23 |
@KeySequence("bpm_user_group_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。 |
e7c126
|
24 |
@Data |
H |
25 |
@Builder |
|
26 |
@NoArgsConstructor |
|
27 |
@AllArgsConstructor |
|
28 |
public class BpmUserGroupDO extends BaseDO { |
|
29 |
|
|
30 |
/** |
|
31 |
* 编号,自增 |
|
32 |
*/ |
|
33 |
@TableId |
|
34 |
private Long id; |
|
35 |
/** |
|
36 |
* 组名 |
|
37 |
*/ |
|
38 |
private String name; |
|
39 |
/** |
|
40 |
* 描述 |
|
41 |
*/ |
|
42 |
private String description; |
|
43 |
/** |
|
44 |
* 状态 |
|
45 |
* |
|
46 |
* 枚举 {@link CommonStatusEnum} |
|
47 |
*/ |
|
48 |
private Integer status; |
|
49 |
/** |
|
50 |
* 成员用户编号数组 |
|
51 |
*/ |
4a47e4
|
52 |
@TableField(typeHandler = JacksonTypeHandler.class) |
e7c126
|
53 |
private Set<Long> userIds; |
H |
54 |
|
|
55 |
} |