提交 | 用户 | 时间
|
722af2
|
1 |
package com.dl.workflow.domain.bo; |
X |
2 |
|
|
3 |
import com.dl.common.core.domain.BaseEntity; |
|
4 |
import com.dl.common.core.validate.AddGroup; |
|
5 |
import com.dl.common.core.validate.EditGroup; |
|
6 |
import lombok.Data; |
|
7 |
import lombok.EqualsAndHashCode; |
|
8 |
|
|
9 |
import javax.validation.constraints.NotBlank; |
|
10 |
import javax.validation.constraints.NotNull; |
|
11 |
|
|
12 |
/** |
|
13 |
* 流程抄送业务对象 wf_copy |
|
14 |
* |
|
15 |
* @author dl |
|
16 |
* @date 2022-05-19 |
|
17 |
*/ |
|
18 |
|
|
19 |
@Data |
|
20 |
@EqualsAndHashCode(callSuper = true) |
|
21 |
public class WfCopyBo extends BaseEntity { |
|
22 |
|
|
23 |
/** |
|
24 |
* 抄送主键 |
|
25 |
*/ |
|
26 |
@NotNull(message = "抄送主键不能为空", groups = { EditGroup.class }) |
|
27 |
private Long copyId; |
|
28 |
|
|
29 |
/** |
|
30 |
* 抄送标题 |
|
31 |
*/ |
|
32 |
@NotNull(message = "抄送标题不能为空", groups = { AddGroup.class, EditGroup.class }) |
|
33 |
private String title; |
|
34 |
|
|
35 |
/** |
|
36 |
* 流程主键 |
|
37 |
*/ |
|
38 |
@NotBlank(message = "流程主键不能为空", groups = { AddGroup.class, EditGroup.class }) |
|
39 |
private String processId; |
|
40 |
|
|
41 |
/** |
|
42 |
* 流程名称 |
|
43 |
*/ |
|
44 |
@NotBlank(message = "流程名称不能为空", groups = { AddGroup.class, EditGroup.class }) |
|
45 |
private String processName; |
|
46 |
|
|
47 |
/** |
|
48 |
* 流程分类主键 |
|
49 |
*/ |
|
50 |
@NotBlank(message = "流程分类主键不能为空", groups = { AddGroup.class, EditGroup.class }) |
|
51 |
private String categoryId; |
|
52 |
|
|
53 |
/** |
|
54 |
* 任务主键 |
|
55 |
*/ |
|
56 |
@NotBlank(message = "任务主键不能为空", groups = { AddGroup.class, EditGroup.class }) |
|
57 |
private String taskId; |
|
58 |
|
|
59 |
/** |
|
60 |
* 用户主键 |
|
61 |
*/ |
|
62 |
@NotNull(message = "用户主键不能为空", groups = { AddGroup.class, EditGroup.class }) |
|
63 |
private String userId; |
|
64 |
|
|
65 |
/** |
|
66 |
* 发起人Id |
|
67 |
*/ |
|
68 |
@NotNull(message = "发起人主键不能为空", groups = { AddGroup.class, EditGroup.class }) |
|
69 |
private String originatorId; |
|
70 |
/** |
|
71 |
* 发起人名称 |
|
72 |
*/ |
|
73 |
@NotNull(message = "发起人名称不能为空", groups = { AddGroup.class, EditGroup.class }) |
|
74 |
private String originatorName; |
|
75 |
} |