自动化立体仓库 - WMS系统
vincent
2020-05-24 fb3b3aa7f0fcbfd3f3cb333b31a317f73605a9ec
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
56
57
58
package com.zy.system.entity;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
 
import java.io.Serializable;
 
@TableName("sys_role_resource")
public class RoleResource implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /**
     * 角色
     */
    @TableField("role_id")
    private Long roleId;
 
    /**
     * 资源
     */
    @TableField("resource_id")
    private Long resourceId;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getRoleId() {
        return roleId;
    }
 
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
 
    public Long getResourceId() {
        return resourceId;
    }
 
    public void setResourceId(Long resourceId) {
        this.resourceId = resourceId;
    }
 
 
}