| | |
| | | package com.iailab.module.bpm.dal.dataobject.definition; |
| | | |
| | | import com.iailab.framework.common.enums.CommonStatusEnum; |
| | | import com.iailab.framework.mybatis.core.dataobject.BaseDO; |
| | | import com.iailab.framework.mybatis.core.type.JsonLongSetTypeHandler; |
| | | import com.baomidou.mybatisplus.annotation.KeySequence; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; |
| | | import com.iailab.framework.common.enums.CommonStatusEnum; |
| | | import com.iailab.framework.mybatis.core.dataobject.BaseDO; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Builder; |
| | | import lombok.Data; |
| | |
| | | * @author iailab |
| | | */ |
| | | @TableName(value = "bpm_user_group", autoResultMap = true) |
| | | @KeySequence("bpm_user_group_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。 |
| | | @Data |
| | | @Builder |
| | | @NoArgsConstructor |
| | |
| | | /** |
| | | * 成员用户编号数组 |
| | | */ |
| | | @TableField(typeHandler = JsonLongSetTypeHandler.class) |
| | | @TableField(typeHandler = JacksonTypeHandler.class) |
| | | private Set<Long> userIds; |
| | | |
| | | } |