diff --git a/src/main/java/com/lq/entity/SysFile.java b/src/main/java/com/lq/entity/SysFile.java index faff257..67f5d5b 100755 --- a/src/main/java/com/lq/entity/SysFile.java +++ b/src/main/java/com/lq/entity/SysFile.java @@ -5,16 +5,28 @@ import com.lq.code.entity.IdEntity; import java.util.Date; /** + * 系统文件 * Created by qi_liang on 2018/3/25. */ public class SysFile extends IdEntity { - //文件名 + /** + * 文件名 + */ + private String fileName; - //文件路径(相对路径) + + /** + * 文件路径(相对路径) + */ + private String path; - //上传时间 + /** + * 上传时间 + */ private Date createTime; - //文件类型(image:图片,viedo:视频,other:其他) + /** + * 文件类型(image:图片,viedo:视频,other:其他) + */ private String fileType; public String getFileName() { diff --git a/src/main/java/com/lq/entity/SysLog.java b/src/main/java/com/lq/entity/SysLog.java index 5e89e68..c3fcdda 100755 --- a/src/main/java/com/lq/entity/SysLog.java +++ b/src/main/java/com/lq/entity/SysLog.java @@ -12,9 +12,13 @@ public class SysLog extends IdEntity { * 访问ip */ private String userIp; - //创建时间 + /** + * 创建时间 + */ private Date createTime; - //访问url + /** + * 访问url + */ private String url; public String getUserIp() { diff --git a/src/main/java/com/lq/entity/SysPermission.java b/src/main/java/com/lq/entity/SysPermission.java index 10c7825..e648250 100755 --- a/src/main/java/com/lq/entity/SysPermission.java +++ b/src/main/java/com/lq/entity/SysPermission.java @@ -8,7 +8,10 @@ import com.lq.code.entity.IdEntity; */ public class SysPermission extends IdEntity{ - //权限名称 + /** + * 权限名称 + */ + @Length(value = 80) private String name; diff --git a/src/main/java/com/lq/entity/SysResource.java b/src/main/java/com/lq/entity/SysResource.java index 74e049b..e1fa37c 100755 --- a/src/main/java/com/lq/entity/SysResource.java +++ b/src/main/java/com/lq/entity/SysResource.java @@ -9,21 +9,40 @@ import java.util.Date; */ public class SysResource extends IdEntity { - //跳转路径 + /** + * 跳转路径 + */ + private String urlPath; - //序号 + /** + * 序号 + */ private Integer sort; - //上级目录id; + /** + * 上级目录id + */ private Long parentId; - //创建该目录用户id + /** + * 创建该目录用户id + */ + private Long userId; - //创建时间 + /** + * 创建时间 + */ private Date createTime; - //更新时间 + /** + * 更新时间 + */ + private Date updateTime; - //目录名称 + /** + * 目录名称 + */ private String menuName; - //目录logo + /** + * 目录logo + */ private String menuIco; public String getUrlPath() { diff --git a/src/main/java/com/lq/entity/SysRole.java b/src/main/java/com/lq/entity/SysRole.java index c3cd98f..b13e615 100755 --- a/src/main/java/com/lq/entity/SysRole.java +++ b/src/main/java/com/lq/entity/SysRole.java @@ -9,11 +9,19 @@ import java.util.Date; */ public class SysRole extends IdEntity { - //角色名称 + /** + * 角色名称 + */ + private String roleName; - //创建时间 + /** + * 创建时间 + */ + private Date createTime; - //更新时间 + /** + * 更新时间 + */ private Date updateTime; public String getRoleName() { diff --git a/src/main/java/com/lq/entity/SysRoleResourcePermission.java b/src/main/java/com/lq/entity/SysRoleResourcePermission.java index 9a0cf7f..be3683c 100755 --- a/src/main/java/com/lq/entity/SysRoleResourcePermission.java +++ b/src/main/java/com/lq/entity/SysRoleResourcePermission.java @@ -9,13 +9,25 @@ import java.util.Date; */ public class SysRoleResourcePermission extends IdEntity { - //关联权限id + /** + * 关联权限id + */ + private Long permissionId; - //关联资源id + /** + * 关联资源id + */ + private Long resourceId; - //关联用户id + /** + * 关联用户id + */ + private Long roleId; - //创建时间 + /** + * 创建时间 + */ + private Date createTime; public Long getPermissionId() { diff --git a/src/main/java/com/lq/entity/SysUser.java b/src/main/java/com/lq/entity/SysUser.java index d165eda..7d7e6aa 100755 --- a/src/main/java/com/lq/entity/SysUser.java +++ b/src/main/java/com/lq/entity/SysUser.java @@ -9,21 +9,43 @@ import java.util.Date; */ public class SysUser extends IdEntity { - //登陆名称 + /** + * 登陆名称 + */ + private String loginName; - //密码 + /** + * 密码 + */ + private String password; - //创建时间 + /** + * 创建时间 + */ + private Date createTime; - //更新时间 + /** + * 更新时间 + */ + private Date updateTime; - //最后登陆时间 + /** + * 最后登陆时间 + */ private Date lastLoginTime; - //备注 + /** + * 备注 + */ + private String remarks; - //头像 + /** + * 头像 + */ + private String imgUrl; - //电子邮件 + /** + * 电子邮件 + */ private String email; public SysUser() { diff --git a/src/main/java/com/lq/entity/SysUserRole.java b/src/main/java/com/lq/entity/SysUserRole.java index 9b091bd..7e2419c 100755 --- a/src/main/java/com/lq/entity/SysUserRole.java +++ b/src/main/java/com/lq/entity/SysUserRole.java @@ -9,13 +9,21 @@ import java.util.Date; */ public class SysUserRole extends IdEntity { - //关联用户id + /** + * 关联用户id + */ private Long userId; - //管理角色id + /** + * 管理角色id + */ private Long roleId; - //创建时间 + /** + * 创建时间 + */ private Date createTime; - //更新时间 + /** + * 更新时间 + */ private Date updateTime;