package com.xueyi.system.api.digitalmans.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xueyi.common.core.annotation.Excel;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

import static com.xueyi.common.core.constant.basic.EntityConstants.REMARK;
import static com.xueyi.common.core.constant.basic.EntityConstants.SORT;
import static com.xueyi.common.core.constant.basic.EntityConstants.STATUS;

/**
 * 访客 持久化对象
 *
 * @author xueyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "dm_visitors", excludeProperty = { STATUS, SORT, REMARK })
public class DmVisitorsPo extends TBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 会议室ID */
    @Excel(name = "会议室ID")
    protected Long roomId;

    /** 访客电话 */
    @Excel(name = "访客电话")
    protected String phone;

    /** 1:男；2:女 */
    @Excel(name = "1:男；2:女")
    protected Integer gender;

    /** 年龄 */
    @Excel(name = "年龄")
    protected Integer age;

    /** 访客公司 */
    @Excel(name = "访客公司")
    protected String visitorCompany;

    /** 访客称呼 */
    @Excel(name = "访客称呼")
    protected String nickname;

    /** 所属组织ID */
    @Excel(name = "所属组织ID")
    protected Long deptId;

    /** 访客类型 */
    @Excel(name = "访客类型")
    protected Long type;

    /** 上传头像 */
    @Excel(name = "上传头像")
    protected String avatar;

    protected Long resourceId;


}