whycxzp
2021-09-27 d815151a1b5fc0d70df80cf80cb01b7636468d36
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.ibatis.type.Alias;
 
/**
 * 角色菜单
 */
@Alias("RoleMenu")
@TableName( schema = "`db_experiment`",value = "tb_role_menu")
public class RoleMenu {
    private Integer id;
    //private Integer roleId;
    @TableField("roleId")
    private Role role;
 
    //private Integer menuId;
    @TableField("menuId")
    private Menu menu;
 
    private Integer status;
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public Integer getStatus() {
        return status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
    }
 
    public Role getRole() {
        return role;
    }
 
    public void setRole(Role role) {
        this.role = role;
    }
 
    public Menu getMenu() {
        return menu;
    }
 
    public void setMenu(Menu menu) {
        this.menu = menu;
    }
}