22 lines
677 B
Go
22 lines
677 B
Go
package view
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Language struct {
|
|
ID uint64 `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt *time.Time `json:"updated_at,omitempty"`
|
|
DeletedAt *time.Time `json:"deleted_at,omitempty"`
|
|
Name string `json:"name"`
|
|
ISOCode string `json:"iso_code"`
|
|
LangCode string `json:"lang_code"`
|
|
DateFormat string `json:"date_format"`
|
|
DateFormatShort string `json:"date_format_short"`
|
|
RTL bool `json:"rtl"`
|
|
IsDefault bool `json:"is_default"`
|
|
Active bool `json:"active"`
|
|
Flag string `json:"flag"`
|
|
}
|