实现角色接口增删改查
This commit is contained in:
@ -35,6 +35,7 @@ type UsersColumns struct {
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 软删除时间
|
||||
RoleId string // 角色ID
|
||||
}
|
||||
|
||||
// usersColumns holds the columns for the table users.
|
||||
@ -54,6 +55,7 @@ var usersColumns = UsersColumns{
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
RoleId: "role_id",
|
||||
}
|
||||
|
||||
// NewUsersDao creates and returns a new DAO object for table data access.
|
||||
|
||||
Reference in New Issue
Block a user