All checks were successful
Server CI/CD / deploy (push) Successful in 35s
camelCase JSON 필드명으로 통일, PasswordHash json:"-" 처리 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
525 B
Go
19 lines
525 B
Go
package download
|
|
|
|
import (
|
|
"time"
|
|
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
type Info struct {
|
|
ID uint `json:"id" gorm:"primaryKey"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
DeletedAt gorm.DeletedAt `json:"-" gorm:"index"`
|
|
URL string `json:"url" gorm:"not null"`
|
|
Version string `json:"version" gorm:"not null"`
|
|
FileName string `json:"fileName" gorm:"not null"`
|
|
FileSize string `json:"fileSize" gorm:"not null"`
|
|
}
|