On branch main
modified: internal/domain/appeal/dto.go new file: internal/domain/appeal/handler.go modified: internal/domain/appeal/router.go modified: internal/domain/appeal/service.go modified: internal/models/appeal.go modified: internal/router/router.go fix bag with no embeded the Base into appeal
This commit is contained in:
@@ -106,7 +106,7 @@ type Appeal struct {
|
||||
|
||||
// AppealHistory записывает историю изменений статуса обращения
|
||||
type AppealHistory struct {
|
||||
Base Base `gorm:"embedded"`
|
||||
Base `gorm:"embedded"`
|
||||
|
||||
AppealID uint `gorm:"not null;index" json:"appeal_id"`
|
||||
Appeal Appeal `gorm:"foreignKey:AppealID;references:ID" json:"appeal,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user