model/work_order.go
@@ -9,7 +9,7 @@ type ( Order struct { gorm.Model CommonModel WorkOrderID string `gorm:"index;type:varchar(191);not null" json:"workOrderId"` OrderID string `gorm:"index;type:varchar(191);not null" json:"orderId"` ProductID string `gorm:"type:varchar(191)" json:"productId"`