2025-09-19 04:08:42 +00:00
|
|
|
package response
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
type UserRoleAccessesResponse struct {
|
|
|
|
|
ID uint `json:"id"`
|
2025-09-19 18:45:40 +00:00
|
|
|
UserRoleId uint `json:"userRoleId"`
|
|
|
|
|
MenuId int `json:"menuId"`
|
|
|
|
|
IsViewEnabled bool `json:"isViewEnabled"`
|
|
|
|
|
IsInsertEnabled bool `json:"isInsertEnabled"`
|
|
|
|
|
IsUpdateEnabled bool `json:"isUpdateEnabled"`
|
|
|
|
|
IsDeleteEnabled bool `json:"isDeleteEnabled"`
|
|
|
|
|
IsApprovalEnabled bool `json:"isApprovalEnabled"`
|
|
|
|
|
IsAdminEnabled bool `json:"isAdminEnabled"`
|
|
|
|
|
IsActive *bool `json:"isActive"`
|
|
|
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
|
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
2025-09-19 04:08:42 +00:00
|
|
|
}
|