package com.xueyi.system.receiver.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.NAME;
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_tenant_receiver", excludeProperty = { STATUS, SORT, REMARK, NAME })
public class DmTenantReceiverPo extends TBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    public static final Integer ALL_TYPE = 99;

    /** 接待人ID（员工id） */
    @Excel(name = "接待人ID", readConverterExp = "员=工id")
    protected Long receiverId;

    /** 接待人姓名 */
    @Excel(name = "接待人姓名")
    protected String receiverName;

    /** 接待人手机号 */
    @Excel(name = "接待人手机号")
    protected String receiverPhone;

    /** 对应访客类型 */
    @Excel(name = "对应访客类型")
    protected Integer personType;

}