package com.ld.igds.models;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
import java.io.Serializable;
|
|
/**
|
* 公文流程
|
* @author chen
|
* @date 2023-02-17 16:02
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_OA_DOCUMENT_NODE")
|
public class DocumentNode implements Serializable {
|
|
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "ID_", length = 40)
|
@PropertyDef(label = "ID")
|
private String id;
|
|
@Column(name = "FLOW_TYPE_", length = 10)
|
@PropertyDef(label = "流程类型", description = "用于区分那个流程")
|
private String flowType;
|
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码")
|
private String companyId;
|
|
@Column(name = "NAME_", length = 50)
|
@PropertyDef(label = "当前节点", description = "当前流程节点,根据业务类型定义")
|
private String name;
|
|
@Column(name = "INDEX_")
|
@PropertyDef(label = "节点顺序")
|
private int index = 1;
|
|
@Column(name = "TYPE_", length = 10)
|
@PropertyDef(label = "任务类型", description = "普通任务,会签任务、竞签任务")
|
private String type;
|
|
@Column(name = "RETURN_TO_")
|
@PropertyDef(label = "退回到")
|
private int returnTo;
|
|
@Column(name = "USER_", length = 50)
|
@PropertyDef(label = "处理人", description = "多个人用逗号隔开")
|
private String user;
|
|
@Column(name = "USER_NAME_", length = 100)
|
@PropertyDef(label = "处理人", description = "多个人用逗号隔开")
|
private String userName;
|
|
@Column(name = "NOTICE_TYPE_", length = 10)
|
@PropertyDef(label = "通知方式")
|
private String noticeType;
|
}
|