package com.dcsoft.system.domain;

import com.dcsoft.common.core.annotation.Excel;
import com.dcsoft.common.core.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 授权记录对象 sys_empower_record
 *
 * @author nichun
 * @date 2023-03-08
 */
@Data
public class SysEmpowerRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录Id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    private String peopleName;

    /** 人员id */
    @Excel(name = "人员id")
    private String peopleId;

    /** 信息下发（0成功 1失败） */
    @Excel(name = "信息下发", readConverterExp = "0=成功,1=失败")
    private String infoDown;

    /** 授权方式（0本地 1云盘） */
    @Excel(name = "授权方式", readConverterExp = "0=本地,1=云盘")
    private String empower;

    /** 设备Id */
    @Excel(name = "设备Id")
    private Long equipmentId;

    /** 操作（0启用 1禁用） */
    @Excel(name = "操作", readConverterExp = "0=启用,1=禁用")
    private String status;

    /** 规则Id */
    @Excel(name = "规则Id")
    private Long ruleId;


    private SysPeople people;

    private SysEquipment equipment;

    private SysRule rule;

    private String gh;

    /**
     * 门禁设备位置 1进 2出
     */
    private String entryExitType;

}
