package entity import "time" type UserRoleAccesses struct { ID uint `json:"id" gorm:"primaryKey;type:int4;autoIncrement"` UserRoleId int `json:"user_role_id" gorm:"type:int4"` MenuId int `json:"menu_id" gorm:"type:int4"` IsViewEnabled bool `json:"is_view_enabled" gorm:"type:bool"` IsInsertEnabled bool `json:"is_insert_enabled" gorm:"type:bool"` IsUpdateEnabled bool `json:"is_update_enabled" gorm:"type:bool"` IsDeleteEnabled bool `json:"is_delete_enabled" gorm:"type:bool"` IsApprovalEnabled bool `json:"is_approval_enabled" gorm:"type:bool"` IsAdminEnabled bool `json:"is_admin_enabled" gorm:"type:bool"` IsActive bool `json:"is_active" gorm:"type:bool"` CreatedAt time.Time `json:"created_at" gorm:"default:now()"` UpdatedAt time.Time `json:"updated_at" gorm:"default:now()"` }