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年3月13日
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "AB车位表", description = "AB车位表")
@TableName("parking_share_place")
public class ParkingSharePlace 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 = "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 plateNos;

    /**
     * AB车组描述
     */
    @ApiModelProperty(name = "remark", value = "AB车组描述")
    private String remark;

    /**
     * 申请附件图片地址 逗号隔开
     */
    @ApiModelProperty(name = "file", value = "申请附件图片地址 逗号隔开")
    private String file;

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

    /**
     * 副车手机号
     */
    @ApiModelProperty(name = "vicePersonPhone", value = "副车手机号")
    private String vicePersonPhone;

    /**
     * 关联审核ID
     */
    @ApiModelProperty(name = "auditId", value = "关联审核ID")
    private Long auditId;

    /**
     * 规则id
     */
    @ApiModelProperty(name = "ruleId", value = "规则id")
    private Long ruleId;

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



}
