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

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.tenant.mp.TenantEntity;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 保利访客授权车位
 * </p>
 *
 * @author miaoqs
 * @since 2024-04-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pl_visitor_parking_spot")
@ApiModel(value="PlVisitorParkingSpot对象", description="保利访客授权车位")
public class PlVisitorParkingSpot extends TenantEntity {

    /**
     * 访客主表ID
     */
    @ApiModelProperty(name = "visitorId", value = "访客主表ID")
    private Long visitorId;
    /**
     *  停车位id
     */
    @ApiModelProperty(name = "parkingSpotId", value = "停车位id")
    private Long parkingSpotId;
    /**
     * 停车位名称
     */
    @ApiModelProperty(name = "parkingSpotName", value = "停车位名称")
    private String parkingSpotName;
    /**
     * 项目id
     */
    @NotNull(message = "项目id不能为空")
    @ApiModelProperty(name = "parkId", value = "项目id")
    private Long parkId;

    /**
     * 停车场id
     */
    @NotNull(message = "停车场id不能为空")
    @ApiModelProperty(name = "parkingId", value = "停车场id")
    private Long parkingId;
    /**
     *  添加用户类型 1:被访人;2:物业
     */
    @ApiModelProperty(name = "addUserType", value = "添加用户类型 1:被访人;2:物业")
    private String addUserType;
    /**
     *  车位类型 1:固定车位;2:临时车位
     */
    @ApiModelProperty(name = "spotType", value = "车位类型 1:固定车位;2:临时车位")
    private String spotType;
    /**
     * 备注信息
     */
    @ApiModelProperty(name = "remark", value = "备注信息")
    private String remark;



}
