Merge branch 'feat/daily-checklist-upload-documents' into 'development'

[FEAT][BE]: add api upload documents daily checklist

See merge request mbugroup/lti-api!154
This commit is contained in:
Hafizh A. Y.
2026-01-12 03:39:06 +00:00
9 changed files with 219 additions and 40 deletions
+7 -6
View File
@@ -7,12 +7,13 @@ import (
)
type Phases struct {
Id uint `gorm:"primaryKey"`
Name string `gorm:"not null"`
IsActive bool `gorm:"not null;default:true"`
Category string `gorm:"type:category_code;not null"`
CreatedAt time.Time `gorm:"autoCreateTime"`
DeletedAt gorm.DeletedAt `gorm:"index" json:"-"`
Id uint `gorm:"primaryKey"`
Name string `gorm:"not null"`
IsActive bool `gorm:"not null;default:true"`
Category string `gorm:"type:category_code;not null"`
CreatedAt time.Time `gorm:"autoCreateTime"`
DeletedAt gorm.DeletedAt `gorm:"index" json:"-"`
ActivityCount int `gorm:"-" json:"-"`
Activities []PhaseActivity `gorm:"foreignKey:PhaseId;references:Id"`
}