settings section
This commit is contained in:
1 parent
bbe5d219ad
commit
0c717101da
2867 files changed
+1118596
-1
No files matched your search
@@ -0,0 +1,20 @@
|
||||
package province
|
||||
|
||||
type LocalizedTitle struct {
|
||||
En string `json:"en"`
|
||||
Ru string `json:"ru"`
|
||||
Tm string `json:"tm"`
|
||||
}
|
||||
|
||||
type ProvinceDTO struct {
|
||||
Id int64 `json:"id"`
|
||||
Title LocalizedTitle `json:"title"`
|
||||
}
|
||||
|
||||
type CreateProvinceDTO struct {
|
||||
Title LocalizedTitle `json:"title" binding:"required"`
|
||||
}
|
||||
|
||||
type UpdateProvinceDTO struct {
|
||||
Title LocalizedTitle `json:"title" binding:"required"`
|
||||
}
|
||||
Reference in new issue
Block a user