package easydo.technology.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author tianyf
 *
 * 用于替换  RolesDepts 用户角色关联 实体类
 * 为了给jdbcClient提供查询实体类映射
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(value = { "handler" })
public class SysRolesDepts implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField(value = "role_id")
    private Long roleId;

    @TableField(value = "dept_id")
    private Long deptId;

}
