package com.ycl.platform.domain.vo;
|
|
import com.ycl.platform.base.AbsVo;
|
import com.ycl.platform.domain.entity.WorkOrderYwConditionRecord;
|
import java.util.List;
|
import java.time.LocalDateTime;
|
import org.springframework.lang.NonNull;
|
import org.springframework.beans.BeanUtils;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.experimental.Accessors;
|
|
/**
|
* 工单运维情况记录展示
|
*
|
* @author xp
|
* @since 2024-03-06
|
*/
|
@Data
|
@Accessors(chain = true)
|
public class WorkOrderYwConditionRecordVO extends AbsVo {
|
|
/** 工单ID */
|
private Integer workOrderId;
|
|
/** 提交人 */
|
private Integer unitId;
|
private String unitName;
|
|
/** 运维情况 */
|
private String ywCondition;
|
|
/** 佐证材料 */
|
private String ywProofMaterials;
|
|
/** 是否系统消息 */
|
private Boolean sysMsg;
|
|
/** 是否系统消息 */
|
private Integer userId;
|
|
public static WorkOrderYwConditionRecordVO getVoByEntity(@NonNull WorkOrderYwConditionRecord entity, WorkOrderYwConditionRecordVO vo) {
|
if(vo == null) {
|
vo = new WorkOrderYwConditionRecordVO();
|
}
|
BeanUtils.copyProperties(entity, vo);
|
return vo;
|
}
|
|
}
|