package com.gxwebsoft.tower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.gxwebsoft.common.system.entity.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 派单审核
 *
 * @author 科技小王子
 * @since 2023-08-21 00:46:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TowerWorksheetAudit对象", description = "派单审核")
public class TowerWorksheetAudit implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "worksheet_audit_id", type = IdType.AUTO)
    private Integer worksheetAuditId;

    private Integer worksheetId;

    private Integer userId;

    @TableField(exist = false)
    private User user;

    @ApiModelProperty(value = "0待审核1已通过2已拒绝")
    private Integer status;

    @ApiModelProperty(value = "拒绝原因")
    private String refuseReason;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

}
