mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-24 15:25:43 +00:00
feat(BE): fix delete project flock budget and uniformity, and fix uniformity with update purchase document
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
package entities
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
import "time"
|
||||
|
||||
type ProjectFlockKandangUniformity struct {
|
||||
Id uint `gorm:"primaryKey"`
|
||||
@@ -18,9 +14,6 @@ type ProjectFlockKandangUniformity struct {
|
||||
UniformQty float64 `gorm:"type:numeric(15,3)"`
|
||||
NotUniformQty float64 `gorm:"type:numeric(15,3)"`
|
||||
UniformDate *time.Time `gorm:"type:timestamptz"`
|
||||
CreatedAt time.Time `gorm:"autoCreateTime"`
|
||||
UpdatedAt time.Time `gorm:"autoUpdateTime"`
|
||||
DeletedAt gorm.DeletedAt `gorm:"index" json:"-"`
|
||||
CreatedBy uint `gorm:"not null"`
|
||||
|
||||
ProjectFlockKandang ProjectFlockKandang `gorm:"foreignKey:ProjectFlockKandangId;references:Id"`
|
||||
|
||||
Reference in New Issue
Block a user