guohongjin
2024-05-15 5b7639f0bd9e056738ec15100ed0532e965c6cd5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package cn.stylefeng.roses.kernel.group.api.pojo;
 
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;
 
/**
 * 业务分组封装类
 *
 * @author fengshuonan
 * @date 2022/05/11 12:54
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysGroupRequest extends BaseRequest {
 
    /**
     * 分组id
     */
    @ChineseDescription("分组id")
    private Long groupId;
 
    /**
     * 所属业务编码
     */
    @ChineseDescription("所属业务编码")
    @NotBlank(message = "groupBizCode业务编码不能为空", groups = {add.class, list.class, delete.class})
    private String groupBizCode;
 
    /**
     * 分组名称不能为空
     */
    @ChineseDescription("分组名称")
    @NotBlank(message = "分组名称不能为空", groups = {add.class})
    private String groupName;
 
    /**
     * 业务主键id集合
     */
    @ChineseDescription("业务主键id集合")
    @NotNull(message = "业务主键id集合不能为空", groups = {add.class, delete.class})
    private List<Long> businessIdList;
 
}