package com.ktg.iscs.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.model.BaseBean;

/**
 * 作业操作过程对象 is_ticket_oper_log
 *
 * @author cgj
 * @date 2025-07-14
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IsTicketOperLog extends BaseBean
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.AUTO)
    private Long operationId;

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

    @ApiModelProperty(value = "作业票name")
    @Excel(name = "作业票name")
    private String ticketName;

    @ApiModelProperty(value = "操作类型（0-启动作业 1-操作确认 2-人员变动 3-启动上锁 4-完成上锁 5-启动解锁 6-添加共锁 7-解除共锁 8-完成解锁 9-结束作业）")
    @Excel(name = "操作类型", readConverterExp = "0=-启动作业,1=-操作确认,2=-人员变动,3=-启动上锁,4=-完成上锁,5=-启动解锁,6=-添加共锁,7=-解除共锁,8=-完成解锁,9=-结束作业")
    private Integer operationType;

    @ApiModelProperty(value = "操作时间")
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operationTime;

    @ApiModelProperty(value = "操作人id")
    @Excel(name = "操作人id")
    private Long operationUserId;

    @ApiModelProperty(value = "操作人姓名")
    @Excel(name = "操作人姓名")
    private String operationUserName;

    @ApiModelProperty(value = "操作内容")
    @Excel(name = "操作内容")
    private String operationContent;

    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;


}
