实现角色接口增删改查

This commit is contained in:
2025-06-03 16:04:00 +08:00
parent bcd274c750
commit fedcd288e8
35 changed files with 596 additions and 57 deletions

View File

@ -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.