fix models
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
2026-10-04 21:15:50 +02:00
parent 570ae71aba
commit 8c9850d4b1
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ type MailAccountDTO struct {
ID string `json:"id" binding:"required"`
CreatedAt helpers.KontorTime `json:"created_date"`
UpdatedAt helpers.KontorTime `json:"last_modified_date"`
DeletedAt *time.Time `json:"deleted_date.omitempty"`
DeletedAt *time.Time `json:"deleted_date,omitempty"`
Version int `json:"version"`
Host string `json:"host"`
Port int `json:"port"`
+2 -2
View File
@@ -19,10 +19,10 @@ func (media_actor *MediaActor) TableName() string {
}
type MediaActorDTO struct {
ID string `json:"id" binding:"required"`
ID string `json:"id" binding:"required"`
CreatedAt time.Time `json:"created_date"`
UpdatedAt time.Time `json:"last_modified_date"`
DeletedAt *time.Time `json:"deleted_date"`
DeletedAt *time.Time `json:"deleted_date,omitempty"`
Version int `json:"version"`
Name string `json:"name"`
WebLink string `json:"url"`