pocketbase-signer/models/files.go

20 lines
504 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package models
// File представляет информацию о файле
type File struct {
ID string `json:"id"`
Name string `json:"name"`
Url string `json:"url"`
Created string `json:"created"`
Updated string `json:"updated"`
User string `json:"user"`
}
// FilesList представляет список файлов
type FilesList struct {
Page int `json:"page"`
PerPage int `json:"perPage"`
Total int `json:"total"`
Items []File `json:"items"`
}