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

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktg.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 首页返回类
 *
 * @author cgj
 * @date 2024-10-16
 */
@Data
public class OngoingJobVO implements Serializable {

    @ApiModelProperty(value = "作业票ID")
    private Long ticketId;

    @ApiModelProperty(value = "作业票名称")
    private String ticketName;

    @ApiModelProperty(value = "所属岗位ID")
    private Long workstationId;

    @ApiModelProperty(value = "所属岗位Name")
    private String workstationName;

    @ApiModelProperty(value = "设备工艺ID")
    private Long machineryId;

    @ApiModelProperty(value = "设备工艺Name")
    private String machineryName;

    @ApiModelProperty(value = "作业票类型")
    private String ticketType;

    @ApiModelProperty(value = "作业票开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "作业票开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date ticketStartTime;

}
