package entity import "time" type PpidDataFiles struct { ID uint `json:"id" gorm:"primaryKey;type:int4;autoIncrement"` Title string `json:"title" gorm:"type:varchar"` PpidDataId int `json:"ppid_data_id" gorm:"type:int4"` Description string `json:"description" gorm:"type:varchar"` Unit string `json:"unit" gorm:"type:varchar"` FileType string `json:"file_type" gorm:"type:varchar"` DownloadCount int `json:"download_count" gorm:"type:int4"` CreatedById int `json:"created_by_id" gorm:"type:int4"` StatusId int `json:"status_id" gorm:"type:int4"` IsPublish bool `json:"is_publish" gorm:"type:bool"` PublishedAt time.Time `json:"published_at" gorm:"type:timestamp"` IsActive bool `json:"is_active" gorm:"type:bool"` CreatedAt time.Time `json:"created_at" gorm:"default:now()"` UpdatedAt time.Time `json:"updated_at" gorm:"default:now()"` }