/**
 * Copyright 2018 人人开源 https://www.renren.io
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see .
 */
package com.epmet.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
/**
 * 工作人员-角色关系表
 *
 * @author generator generator@elink-cn.com
 * @since v1.0.0 2020-04-22
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("staff_role")
public class StaffRoleEntity extends BaseEpmetEntity {
	private static final long serialVersionUID = 1L;
    /**
     * 用户ID
     */
	private String staffId;
    /**
     * 角色ID
     */
	private String roleId;
    /**
     * 角色所属类型的ID。例如,机关的角色,那该字段就是所属机关的ID;部门的角色,该字段就是所属部门的ID;网格的角色,该字段就是所属网格ID
     */
	private String orgId;
	/**
	 * 客户ID
	 */
	private String customerId;
}