新增Permission类

新增类 net.wendal.nutzbook.bean.Permission ,请自行补齐getter/setter

  1. package net.wendal.nutzbook.bean;
  2. import org.nutz.dao.entity.annotation.ColDefine;
  3. import org.nutz.dao.entity.annotation.Column;
  4. import org.nutz.dao.entity.annotation.Id;
  5. import org.nutz.dao.entity.annotation.Name;
  6. import org.nutz.dao.entity.annotation.Table;
  7. @Table("t_permission")
  8. public class Permission extends BasePojo {
  9. @Id
  10. protected long id;
  11. @Name
  12. protected String name;
  13. @Column("al")
  14. protected String alias;
  15. @Column("dt")
  16. @ColDefine(type = ColType.VARCHAR, width = 500)
  17. private String description;
  18. }