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

import com.baomidou.mybatisplus.annotation.TableField;
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;

/**
 * <p>
 * 保利访客门禁权限分配子表
 * </p>
 *
 * @author miaoqs
 * @since 2024-04-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pl_visitor_power")
@ApiModel(value="PlVisitorPower对象", description="保利访客门禁权限分配子表")
public class PlVisitorPower extends TenantEntity {

    /**
     * 访客主表ID
     */
    @ApiModelProperty(name = "visitorId", value = "访客主表ID")
    private Long visitorId;
    /**
     * 门禁点id
     */
    @ApiModelProperty(name = "pointId", value = "门禁点id")
    private Long pointId;
    /**
     * 门禁点名称
     */
    @TableField(exist = false)
    @ApiModelProperty(name = "pointNameStr", value = "门禁点名称")
    private String pointNameStr;
    /**
     * 门禁点类型1:门禁;2:电梯
     */
    @ApiModelProperty(name = "pointType", value = "门禁点类型1:门禁;2:电梯")
    private String pointType;



}
