Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserAndRightBase_tableName = ""
View Source
var UserAndRight_tableName = ""
Functions ¶
This section is empty.
Types ¶
type SimpleRight ¶
type SimpleRight struct {
GsRightId string `json:"sRightId" gorm:"column:sRightId; type:varchar"` //用户编号
GsEnglish string `json:"sEnglish" gorm:"column:sEnglish; type:varchar"` //权限标识名称
GsControllerPath string `json:"sControllerPath" gorm:"column:sControllerPath; type:varchar"` //URL路径值
}
简化的权限信息实体
type UserAndRight ¶
type UserAndRight struct {
UserAndRightBase
}
*
- 用户权限表'UserAndRight'表结构体
- 警告:非数据库字段禁止在此添加,应该创建扩展结构体中添加
- @author HuangXinBian
type UserAndRightBase ¶
type UserAndRightBase struct {
GiId int64 `` //记录编号
/* 410-byte string literal not displayed */
GsUserId string `` //用户编号
/* 396-byte string literal not displayed */
GsRightId string `` //权限编号
/* 400-byte string literal not displayed */
GiType int `` //权限类型
/* 383-byte string literal not displayed */
GsMemo string `` //备注
/* 375-byte string literal not displayed */
GsCreator string `` //创建者
/* 424-byte string literal not displayed */
GdCreateDate time.Time `` //创建时间
/* 411-byte string literal not displayed */
GsModifieder string `` //修改人
/* 433-byte string literal not displayed */
GdModifiedDate time.Time `` //修改时间
/* 417-byte string literal not displayed */
GiState int `` //状态
/* 391-byte string literal not displayed */
GiIndex int `` //序号
/* 392-byte string literal not displayed */
GiVersion int `` //版本号
/* 401-byte string literal not displayed */
}
*
- 用户权限表'UserAndRight'表结构体
- 警告:非数据库字段禁止在此添加,应该创建扩展结构体中添加
- @author HuangXinBian
func (UserAndRightBase) BaseColumnNames ¶
func (UserAndRightBase) BaseColumnNames() []string
*
- 结构体映射表的字段名集合
func (UserAndRightBase) TableName ¶
func (userAndRightBase UserAndRightBase) TableName() string
*
- 结构体映射表名,处理结构体名称与表名不一致的情况
Click to show internal directories.
Click to hide internal directories.