package com.yuchen.saas.park.api.entity.work;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

import java.util.Date;

/**
 * <p>
 * 工单延迟审批表
 * </p>
 *
 * @author caiwq
 * @since 2024-04-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_work_order_delay_approval")
@ApiModel(value="SaasWorkOrderDelayApproval对象", description="工单延迟审批表")
public class SaasWorkOrderDelayApproval extends BaseEntity {
    /**
     * 项目ID
     */
    @ApiModelProperty(name = "projectId", value = "项目ID")
    private Long projectId;
    /**
     * 申请编号
     */
    @ApiModelProperty(name = "applyNo", value = "申请编号")
    private String applyNo;
    /**
     * 派工单号
     */
    @ApiModelProperty(name = "pgNo", value = "派工单号")
    private String pgNo;
    /**
     * 申请人
     */
    @ApiModelProperty(name = "applyUserId", value = "申请人")
    private Long applyUserId;
    /**
     * 申请人
     */
    @ApiModelProperty(name = "applyUserName", value = "申请人")
    private String applyUserName;
    /**
     * 审批人
     */
    @ApiModelProperty(name = "approvalUserId", value = "审批人")
    private Long approvalUserId;
    /**
     * 审批人
     */
    @ApiModelProperty(name = "approvalUserName", value = "审批人")
    private String approvalUserName;
    /**
     * 原工单时限
     */
    @ApiModelProperty(name = "originalHour", value = "原工单时限")
    private Integer originalHour;
    /**
     * 申请延长时间
     */
    @ApiModelProperty(name = "extendHour", value = "申请延长时间")
    private Integer extendHour;
    /**
     * 申请原因
     */
    @ApiModelProperty(name = "applyReason", value = "申请原因")
    private String applyReason;
    /**
     * 申请时间
     */
    @ApiModelProperty(name = "applyTime", value = "申请时间")
    private Date applyTime;
    /**
     * 审批时间
     */
    @ApiModelProperty(name = "approvalTime", value = "审批时间")
    private Date approvalTime;
    /**
     * 审批状态(0:待确认 1:已通过 2:已驳回)
     */
    @ApiModelProperty(name = "approvalStatus", value = "审批状态(0:待确认 1:已通过 2:已驳回)")
    private Integer approvalStatus;

}
