Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseModule ¶
type BaseModule struct { }
func (*BaseModule) ConvertToJson ¶
func (b *BaseModule) ConvertToJson() string
type Department ¶
type Department struct { ID bson.ObjectId `bson:"_id"` Name string Code string Manager string ParentID string IsUse bool Remark string }
func (*Department) Validate ¶
func (d *Department) Validate(v *revel.Validation)
type Role ¶
type Role struct { RoleID bson.ObjectId `bson:"_id"` RoleName string RoleCode string IsUse bool Remark string ParentID string Sort int }
func (*Role) Validate ¶
func (r *Role) Validate(v *revel.Validation)
type RolePermission ¶
Click to show internal directories.
Click to hide internal directories.