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

import com.baomidou.mybatisplus.annotation.TableName;
import com.thinkunion.park.service.common.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @ClassName ParkingSharePlace
 * @Description 停车场 AB车位申请表（共享车位）
 * @Author 林立超
 * @Date 2023年5月18日
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "AB车位申请表", description = "AB车位申请表")
@TableName("parking_share_place_audit")
public class ParkingSharePlaceAudit extends BasicEntity {

    /**
     * 停车场ID
     */
    @ApiModelProperty(name = "parkingId", value = "停车场ID")
    private Long parkingId;

    /**
     * AB车位名称
     */
    @ApiModelProperty(name = "shareName", value = "AB车位名称")
    private String shareName;

    /**
     * 车主姓名
     */
    @ApiModelProperty(name = "personName", value = "车主姓名")
    private String personName;

    /**
     * 车主电话
     */
    @ApiModelProperty(name = "vicePersonPhone", value = "副车主电话")
    private String vicePersonPhone;

    /**
     * 车主姓名
     */
    @ApiModelProperty(name = "vicePersonName", value = "副车主姓名")
    private String vicePersonName;

    /**
     * 车主电话
     */
    @ApiModelProperty(name = "personPhone", value = "车主电话")
    private String personPhone;


    /**
     * 共享类型（1：不限时间、2：指定期间）
     */
    @ApiModelProperty(name = "shareType", value = "共享类型（1：不限时间、2：指定期间）")
    private Integer shareType;

    /**
     * 共享 开始时间
     */
    @ApiModelProperty(name = "beginTime", value = "共享 开始时间")
    private Date beginTime;

    /**
     * 共享 结束时间
     */
    @ApiModelProperty(name = "endTime", value = "共享 结束时间")
    private Date endTime;

    /**
     * 共享状态（1：未生效，2：生肖中，3：已失效）
     */
    @ApiModelProperty(name = "shareStatus", value = "共享状态（1：未生效，2：生肖中，3：已失效）")
    private Integer shareStatus;

    /**
     * 月卡登记ID
     */
    @ApiModelProperty(name = "vehicleMonthlyCardId", value = "月卡ID")
    private Long vehicleMonthlyCardId;

    /**
     * 车位号
     */
    @ApiModelProperty(name = "placeNo", value = "车位号")
    private String placeNo;

    /**
     * 主车牌号
     */
    @ApiModelProperty(name = "plateNos", value = "主车牌号")
    private String plateNo;


    /**
     * 车牌号（逗号隔开）
     */
    @ApiModelProperty(name = "vicePlateNo", value = "副车牌号")
    private String vicePlateNo;
    /**
     * AB车组描述
     */
    @ApiModelProperty(name = "remark", value = "AB车组描述")
    private String remark;

    /**
     * 申请附件图片地址 逗号隔开
     */
    @ApiModelProperty(name = "auditUser", value = "审核人")
    private String auditUser;
    @ApiModelProperty(name = "auditMsg", value = "审核备注")
    private String auditMsg;
    @ApiModelProperty(name = "ruApprovalDataId", value = "审核流程ID")
    private String ruApprovalDataId;
    /**
     * @Deprecated 审核状态 0 拒绝 1 审核通过 2 进行中 3 取消 4 待审核
     * 审核状态0:未开始,1:进行中,2已结束,3:已撤回,4已驳回
     */
    @ApiModelProperty(name = "auditState", value = "审核状态0:未开始,1:进行中,2已结束,3:已撤回,4已驳回")
    private String auditState;
    @ApiModelProperty(name = "auditTime", value = "审核时间")
    private Date auditTime;
    @ApiModelProperty(name = "applyTime", value = "申请时间")
    private Date applyTime;
    @ApiModelProperty(name = "applySource", value = "申请来源")
    private String applySource;
    @ApiModelProperty(name = "applyUser", value = "申请人")
    private String applyUser;
    @ApiModelProperty(name = "monthCarFreeState", value = "免费状态 0 免费 1 收费")
    private String monthCarFreeState;
    @ApiModelProperty(name = "monthCarBeginTime", value = "月卡开始时间")
    private Date monthCarBeginTime;

    @ApiModelProperty(name = "monthCarEndTime", value = "月卡结束时间")
    private Date monthCarEndTime;

    @ApiModelProperty(name = "ruleId", value = "规则ID")
    private Long ruleId;

    @ApiModelProperty(name = "ruleType", value = "规则类型(1月卡 2错时)")
    private Integer ruleType;

    @ApiModelProperty(name = "file", value = "附件申请")
    private String file;

    @ApiModelProperty(name = "payUserId", value = "小程序OPENid")
    private String payUserId;
    @ApiModelProperty(name = "IsUserDeleted", value = "小程序删除")
    private Integer isUserDeleted;


    @ApiModelProperty(name = "placeId", value = "车位ID")
    private Long placeId;

    @ApiModelProperty(name = "companyId", value = "公司ID")
    private Long companyId;

    /**
     * 单据编码
     */
    @ApiModelProperty(name = "receiptCode", value = "单据编码")
    private String receiptCode;

}
