北在北方

太白枝头看,花开不计年,杯中浮日月,楼外是青天。

导航

2013年5月9日

摘要: 1、权限既然写在配置文件中,那么数据库中只需要三个表即可。 1)t_user 用户表 2)t_role 角色表 3)t_user_role 用户角色表 2、对应的领域实体 1)用户package cn.luxh.app.domain;/** * 用户 * @author Luxh */public class User { private Integer id; /**帐号*/ private String account; /**密码*/ private String password; @Ov... 阅读全文

posted @ 2013-05-09 22:50 CN.programmer.Luxh 阅读(1984) 评论(0) 推荐(0)