17 lines
482 B
Go
17 lines
482 B
Go
|
|
package response
|
||
|
|
|
||
|
|
import "time"
|
||
|
|
|
||
|
|
type UserRolesResponse struct {
|
||
|
|
ID uint `json:"id"`
|
||
|
|
Name string `json:"name"`
|
||
|
|
Description string `json:"description"`
|
||
|
|
Code string `json:"code"`
|
||
|
|
UserLevelId uint `json:"user_level_id"`
|
||
|
|
StatusId int `json:"status_id"`
|
||
|
|
CreatedById *uint `json:"created_by_id"`
|
||
|
|
IsActive *bool `json:"is_active"`
|
||
|
|
CreatedAt time.Time `json:"created_at"`
|
||
|
|
UpdatedAt time.Time `json:"updated_at"`
|
||
|
|
}
|