/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.sxkj.gd.workorder.vo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.Date; /** * 事件状态流转履历表 视图实体类 *
* 用于展示事件状态变更历史,仅用于审计 *
* * @author system * @since 2026-07-29 */ @Data @ApiModel(value = "GdClueEventStatusFlowVO对象", description = "事件状态流转履历表") public class GdClueEventStatusFlowVO { /** * 流转记录ID(主键) */ @ApiModelProperty(value = "流转记录ID") private Long id; /** * 关联事件ID */ @ApiModelProperty(value = "关联事件ID") private Long eventId; /** * 变更前状态 */ @ApiModelProperty(value = "变更前状态") private Integer oldStatus; /** * 变更前状态名称 */ @ApiModelProperty(value = "变更前状态名称") private String oldStatusName; /** * 变更后状态 */ @ApiModelProperty(value = "变更后状态") private Integer newStatus; /** * 变更后状态名称 */ @ApiModelProperty(value = "变更后状态名称") private String newStatusName; /** * 状态变更操作人 */ @ApiModelProperty(value = "状态变更操作人") private Long operateUser; /** * 状态变更操作人姓名 */ @ApiModelProperty(value = "状态变更操作人姓名") private String operateUserName; /** * 状态变更操作部门 */ @ApiModelProperty(value = "状态变更操作部门") private Long operateDept; /** * 状态变更操作部门名称 */ @ApiModelProperty(value = "状态变更操作部门名称") private String operateDeptName; /** * 状态变更备注说明 */ @ApiModelProperty(value = "状态变更备注说明") private String operateContent; /** * 状态变更时间 */ @ApiModelProperty(value = "状态变更时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date operateTime; /** * 记录创建时间 */ @ApiModelProperty(value = "记录创建时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createTime; /** * 是否已到达(用于状态时间线展示) */ @ApiModelProperty(value = "是否已到达:true-已到达,false-未到达") private Boolean isReached; }