Private
Public Access
17 lines
411 B
Go
17 lines
411 B
Go
package dto
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
// PermisoResponse es la representación pública de un permiso.
|
|
type PermisoResponse struct {
|
|
ID uint `json:"id"`
|
|
Nombre string `json:"nombre"`
|
|
Alias string `json:"alias"`
|
|
Descripcion string `json:"descripcion"`
|
|
Imagen string `json:"imagen"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|