| | |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | @TableName("sys_permission") |
| | | @TableName("\"SOURCE\".\"sys_permission\"") |
| | | public class Permission implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | /** |
| | | * 编号 |
| | | */ |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | @TableId(value = "ID", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 权限名称 |
| | | */ |
| | | @TableField("NAME") |
| | | private String name; |
| | | |
| | | /** |
| | | * 接口地址 |
| | | */ |
| | | @TableField("ACTION") |
| | | private String action; |
| | | |
| | | /** |
| | | * 所属菜单 |
| | | */ |
| | | @TableField("resource_id") |
| | | @TableField("RESOURCE_ID") |
| | | private Long resourceId; |
| | | |
| | | /** |
| | | * 状态 1: 正常 0: 禁用 |
| | | */ |
| | | @TableField("LOC_DESC") |
| | | private Short status; |
| | | |
| | | public Permission() {} |