package com.yuchen.saas.parking.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.thinkunion.park.service.common.entity.ParkEntity;
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.tenant.mp.TenantEntity;

import java.util.Date;

/**
 * <p>
 * 动态车申请表
 * </p>
 *
 * @author cxj
 * @since 2023-05-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("parking_team_audit")
@ApiModel(value="ParkingTeamAudit对象", description="动态车申请表")
public class ParkingTeamAudit extends TenantEntity {

    /**
     * 园区id
     */
    @ApiModelProperty(name = "parkId",value = "园区id")
    private Long parkId;
    /**
     * 停车场ID
     */
    @ApiModelProperty(name = "parkingId", value = "停车场ID")
    private Long parkingId;
    /**
     * 团队车(动态车)ID
     */
    @ApiModelProperty(name = "teamId", value = "团队车(动态车)ID")
    private Long teamId;
    /**
     * 车牌号
     */
    @ApiModelProperty(name = "plateNo", value = "车牌号")
    private String plateNo;
    /**
     * 车主姓名
     */
    @ApiModelProperty(name = "personName", value = "车主姓名")
    private String personName;
    /**
     * 绑定手机号
     */
    @ApiModelProperty(name = "personPhone", value = "绑定手机号")
    private String personPhone;
    /**
     * 申请附件图片地址 逗号隔开
     */
    @ApiModelProperty(name = "file", value = "申请附件图片地址 逗号隔开")
    private String file;
    /**
     * 申请理由
     */
    @ApiModelProperty(name = "reason", value = "申请理由")
    private String reason;
    /**
     * 审核人
     */
    @ApiModelProperty(name = "reviewUser", value = "审核人")
    private Long reviewUser;
    /**
     * 审核状态（0 待审核 1 进行中 2 已完成 3 已撤回 4 已拒绝））
     */
    @ApiModelProperty(name = "reviewState", value = "审核状态（0 待审核 1 进行中 2 已完成 3 已撤回 4 已拒绝）")
    private Integer reviewState;
    /**
     * 审核时间
     */
    @ApiModelProperty(name = "reviewTime", value = "审核时间")
    private Date reviewTime;
    /**
     * 申请时间
     */
    @ApiModelProperty(name = "applyTime", value = "申请时间")
    private Date applyTime;
    /**
     * 申请来源
     */
    @ApiModelProperty(name = "applySource", value = "申请来源")
    private String applySource;
    /**
     * 申请人
     */
    @ApiModelProperty(name = "applyUser", value = "申请人")
    private Long applyUser;
    /**
     * 小程序OPENid
     */
    @ApiModelProperty(name = "payUserId", value = "小程序OPENid")
    private String payUserId;
    /**
     * 审核备注
     */
    @ApiModelProperty(name = "auditMsg", value = "审核备注")
    private String auditMsg;
    /**
     * 审核流程ID
     */
    @ApiModelProperty(name = "ruApprovalDataId", value = "审核流程ID")
    private String ruApprovalDataId;

    @ApiModelProperty(name = "carId", value = "车id")
    private Long carId;

    @ApiModelProperty(name = "isExit", value = "是否退出团队车:0未退出,1已退出")
    private Integer isExit;

    @ApiModelProperty(name = "isRemove", value = "是否删除(c端):0否,1是")
    private Integer isRemove;

}
