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

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 2023-12-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("door_device_parameter")
@ApiModel(value="DoorDeviceParameter对象", description="门参数")
public class DoorDeviceParameter extends TenantEntity {

    /**
     * 门禁设备id
     */
    @ApiModelProperty(name = "equipmentId", value = "门禁设备id")
    private Long equipmentId;
    /**
     * 门磁控制方式(常闭:1,常开:2)
     */
    @ApiModelProperty(name = "magneticType", value = "门磁控制方式(常闭:1,常开:2)")
    private String magneticType;
    /**
     * 开门按钮控制方式(常闭:1,常开:2)
     */
    @ApiModelProperty(name = "openButtonType", value = "开门按钮控制方式(常闭:1,常开:2)")
    private String openButtonType;
    /**
     * 开门持续时间
     */
    @ApiModelProperty(name = "openDuration", value = "开门持续时间")
    private Integer openDuration;
    /**
     * 首卡常开持续时间
     */
    @ApiModelProperty(name = "leaderCardOpenDuration", value = "首卡常开持续时间")
    private Integer leaderCardOpenDuration;
    /**
     * 行动不便人员卡开门持续时间
     */
    @ApiModelProperty(name = "disabledOpenDuration", value = "行动不便人员卡开门持续时间")
    private Integer disabledOpenDuration;
    /**
     * 门开超时报警(0表示不报警)
     */
    @ApiModelProperty(name = "magneticAlarmTimeout", value = "门开超时报警(0表示不报警)")
    private Integer magneticAlarmTimeout;
    /**
     * 胁迫码
     */
    @ApiModelProperty(name = "stressPassword", value = "胁迫码")
    private String stressPassword;
    /**
     * 超级密码
     */
    @ApiModelProperty(name = "superPassword", value = "超级密码")
    private String superPassword;




}
