21 lines
552 B
Go
21 lines
552 B
Go
package analize
|
|
|
|
import (
|
|
"time"
|
|
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
type Analize struct {
|
|
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"`
|
|
}
|