package com.xueyi.system.resource.domain.po;

import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.resource.domain.dto.DmFaceAuthMappingDto;
import com.xueyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

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

/**
 * 人脸权限 持久化对象
 *
 * @author xueyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "dm_face_auth_mapping", excludeProperty = { STATUS, SORT, REMARK, NAME })
public class DmFaceAuthMappingPo extends TBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 资源ID */
    @Excel(name = "资源ID")
    protected Long resourceId;

    /** 数字人ID */
    @Excel(name = "数字人ID")
    protected Long manId;

    /** 0:未修改脸；1:修改脸 */
    @Excel(name = "0:未修改脸；1:修改脸")
    protected Integer isUpdFace;

    /** 0:无权限；1:有权限 */
    @Excel(name = "0:无权限；1:有权限")
    protected Integer hasAuth;

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

}