|
|
|
package com.zc.business.domain;
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
import lombok.AllArgsConstructor;
|
|
|
|
import lombok.Data;
|
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
import com.ruoyi.common.annotation.Excel;
|
|
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
|
|
import javax.validation.constraints.Max;
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
import javax.validation.constraints.Size;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 事件处理流程对象 dc_event_process
|
|
|
|
*
|
|
|
|
* @author ruoyi
|
|
|
|
* @date 2024-01-03
|
|
|
|
*/
|
|
|
|
@Data
|
|
|
|
@NoArgsConstructor
|
|
|
|
@AllArgsConstructor
|
|
|
|
public class DcEventProcess
|
|
|
|
{
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
/** $column.columnComment */
|
|
|
|
@ApiModelProperty(value = "流水ID")
|
|
|
|
private Long id;
|
|
|
|
|
|
|
|
/** $column.columnComment */
|
|
|
|
@ApiModelProperty(value="事件ID")
|
|
|
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
|
|
|
@NotBlank(message = "事件ID不能为空")
|
|
|
|
private String eventId;
|
|
|
|
|
|
|
|
/** $column.columnComment */
|
|
|
|
@ApiModelProperty(value="操作时间")
|
|
|
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
|
|
|
private Date operationTime;
|
|
|
|
|
|
|
|
/** $column.columnComment */
|
|
|
|
@ApiModelProperty(value="操作人")
|
|
|
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
|
|
|
private String operator;
|
|
|
|
|
|
|
|
/** $column.columnComment */
|
|
|
|
@ApiModelProperty(value="操作人名称")
|
|
|
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
|
|
|
private String operatorName;
|
|
|
|
|
|
|
|
/** 1-pc端
|
|
|
|
2-手机端 */
|
|
|
|
@ApiModelProperty(value="来源")
|
|
|
|
@Excel(name = "1-pc端 2-手机端")
|
|
|
|
private Integer source;
|
|
|
|
|
|
|
|
/** 1-节点
|
|
|
|
2-信息发布
|
|
|
|
3-设备管控
|
|
|
|
4-文件生成
|
|
|
|
*/
|
|
|
|
@ApiModelProperty(value="流程类型 1-节点,2-信息发布,3-设备管控,4-文件生成")
|
|
|
|
@Excel(name = "流程类型")
|
|
|
|
private Integer processType;
|
|
|
|
|
|
|
|
/** $column.columnComment */
|
|
|
|
@ApiModelProperty("流程ID")
|
|
|
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
|
|
|
private Long processId;
|
|
|
|
|
|
|
|
/** $column.columnComment */
|
|
|
|
@ApiModelProperty("流程名称")
|
|
|
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
|
|
|
private String processName;
|
|
|
|
|
|
|
|
/** $column.columnComment */
|
|
|
|
@ApiModelProperty("内容")
|
|
|
|
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
|
|
|
@Size(max = 500, message = "内容不能超过500个字符")
|
|
|
|
private String context;
|
|
|
|
|
|
|
|
/** $column.type */
|
|
|
|
@ApiModelProperty("内容类型")
|
|
|
|
@Excel(name = "${type}", readConverterExp = "$column.readConverterExp()")
|
|
|
|
private String type;
|
|
|
|
@ApiModelProperty("其他")
|
|
|
|
@Excel(name = "${remark}", readConverterExp = "$column.readConverterExp()")
|
|
|
|
private String remark;
|
|
|
|
|
|
|
|
}
|