package com.ktg.iscs.domain.vo.ticket;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktg.iscs.domain.IsJobTicket;
import com.ktg.iscs.domain.IsJobTicketUser;
import com.ktg.iscs.domain.vo.ticketPoints.IsJobTicketPointsVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 作业票对象 is_job_ticket
 *
 * @author cgj
 * @date 2024-10-18
 */
@Data
public class MonitorJobTicketDetailVO
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "作业信息")
    private IsJobTicket jobTicket;

    @ApiModelProperty(value = "上锁钥匙名称")
    private String lockKeyName;

    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "上锁时间")
    private Date lockTime;

    @ApiModelProperty(value = "解锁钥匙名称")
    private String colockKeyName;

    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "解锁时间")
    private Date colockTime;

    @ApiModelProperty(value = "关联上锁人信息")
    private List<IsJobTicketUser> lockUserList;

    @ApiModelProperty(value = "关联共锁人信息")
    private List<IsJobTicketUser> colockUserList;

    @ApiModelProperty(value = "关联隔离点信息")
    private List<IsJobTicketPointsVO> ticketPointsList;

}
