package com.xueyi.system.api.meeting.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_spaces", excludeProperty = { STATUS, SORT, REMARK })
public class DmMeetingRoomsPo extends TBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 昵称 */
    @Excel(name = "昵称")
    protected String nickName;

    /** 地址 */
    @Excel(name = "地址")
    protected String address;

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


    /** type */
    @Excel(name = "类型", readConverterExp = "1=空间,2=前台")
    protected Integer type;


    protected Long resourceId;



}