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;

/**
 * <p>
 * 访客权限设置
 * </p>
 *
 * @author miaoqs
 * @since 2024-05-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pl_visitor_power_set")
@ApiModel(value="PlVisitorPowerSet对象", description="访客权限设置")
public class PlVisitorPowerSet extends TenantEntity {

    /**
     * 项目ID
     */
    @ApiModelProperty(name = "parkId", value = "项目ID")
    private Long parkId;
    /**
     * 访客权限自动下发开关0:关;1:开;
     */
    @ApiModelProperty(name = "autoSendState", value = "访客权限自动下发开关0:关;1:开;")
    private String autoSendState;
    /**
     * 访客车辆默认放行 开关0:关;1:开;
     */
    @ApiModelProperty(name = "carPassState", value = "访客车辆默认放行 开关0:关;1:开;")
    private String carPassState;
    /**
     * 访客放行停车场ids（逗号隔开）
     */
    @ApiModelProperty(name = "openParkingIds", value = "访客放行停车场ids（逗号隔开）")
    private String openParkingIds;
    /**
     * 生效类型1:之前;2:当天;
     */
    @ApiModelProperty(name = "takeEffectType", value = "生效类型1:之前;2:当天;")
    private String takeEffectType;
    /**
     * 提前生效时间值
     */
    @ApiModelProperty(name = "takeEffectValue", value = "提前生效时间值")
    private Integer takeEffectValue;
    /**
     * 生效时间单位1:分钟;2:小时
     */
    @ApiModelProperty(name = "takeEffectUnit", value = "生效时间单位1:分钟;2:小时")
    private String takeEffectUnit;
    /**
     * 失效类型1:预计结束时间之后;2:预计结束时间当天;
     */
    @ApiModelProperty(name = "loseEfficacyType", value = "失效类型1:预计结束时间之后;2:预计结束时间当天;")
    private String loseEfficacyType;



}
