You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.3 KiB
67 lines
1.3 KiB
/**
|
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
|
*
|
|
* https://www.renren.io
|
|
*
|
|
* 版权所有,侵权必究!
|
|
*/
|
|
|
|
package com.epmet.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.epmet.commons.mybatis.entity.BaseEntity;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* 资源管理
|
|
*
|
|
* @author Mark sunlightcs@gmail.com
|
|
* @since 1.0.0
|
|
*/
|
|
@Data
|
|
@EqualsAndHashCode(callSuper=false)
|
|
@TableName("sys_resource")
|
|
public class SysResourceEntity extends BaseEntity {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/**
|
|
* 资源编码,如菜单ID
|
|
*/
|
|
private String resourceCode;
|
|
/**
|
|
* 资源名称
|
|
*/
|
|
private String resourceName;
|
|
/**
|
|
* 资源URL
|
|
*/
|
|
private String resourceUrl;
|
|
/**
|
|
* 请求方式(如:GET、POST、PUT、DELETE)
|
|
*/
|
|
private String resourceMethod;
|
|
/**
|
|
* 菜单标识 0:非菜单资源 1:菜单资源
|
|
*/
|
|
private Integer menuFlag;
|
|
/**
|
|
* 认证等级 0:权限认证 1:登录认证 2:无需认证
|
|
*/
|
|
private Integer authLevel;
|
|
/**
|
|
* 更新者
|
|
*/
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
|
private Long updater;
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
|
private Date updateDate;
|
|
|
|
}
|
|
|