fix
This commit is contained in:
+15
-8
@@ -1,13 +1,20 @@
|
||||
package analize
|
||||
|
||||
import "gorm.io/gorm"
|
||||
import (
|
||||
"time"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type Analize struct {
|
||||
gorm.Model
|
||||
Name string `json:"name"`
|
||||
CaseID uint `json:"case_id"`
|
||||
CaseName string `json:"case_name"`
|
||||
PsiMax float64 `json:"psi_max"`
|
||||
PsiLMax float64 `json:"psi_l_max"`
|
||||
Omega float64 `json:"omega"`
|
||||
ID uint `gorm:"primaryKey" json:"id"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
DeletedAt gorm.DeletedAt `gorm:"index" json:"deleted_at,omitempty"`
|
||||
Name string `json:"name"`
|
||||
CaseID uint `json:"case_id"`
|
||||
CaseName string `json:"case_name"`
|
||||
PsiMax float64 `json:"psi_max"`
|
||||
PsiLMax float64 `json:"psi_l_max"`
|
||||
Omega float64 `json:"omega"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user