96 lines
2.2 KiB
Go
96 lines
2.2 KiB
Go
|
// Code generated by go-swagger; DO NOT EDIT.
|
||
|
|
||
|
// All Code Copyright(c) 2018-2020 by Taxnexus, Inc.
|
||
|
// All rights reserved worldwide.
|
||
|
// Proprietary product; unlicensed use is not allowed
|
||
|
|
||
|
package metrc_gw_models
|
||
|
|
||
|
// This file was generated by the swagger tool.
|
||
|
// Editing this file might prove futile when you re-run the swagger generate command
|
||
|
|
||
|
import (
|
||
|
"github.com/go-openapi/strfmt"
|
||
|
"github.com/go-openapi/swag"
|
||
|
)
|
||
|
|
||
|
// Harvest harvest
|
||
|
//
|
||
|
// swagger:model Harvest
|
||
|
type Harvest struct {
|
||
|
|
||
|
// current weight
|
||
|
CurrentWeight float64 `json:"CurrentWeight,omitempty"`
|
||
|
|
||
|
// drying room Id
|
||
|
DryingRoomID float64 `json:"DryingRoomId,omitempty"`
|
||
|
|
||
|
// drying room name
|
||
|
DryingRoomName string `json:"DryingRoomName,omitempty"`
|
||
|
|
||
|
// harvest start date
|
||
|
HarvestStartDate string `json:"HarvestStartDate,omitempty"`
|
||
|
|
||
|
// harvest type
|
||
|
HarvestType string `json:"HarvestType,omitempty"`
|
||
|
|
||
|
// Id
|
||
|
ID float64 `json:"Id,omitempty"`
|
||
|
|
||
|
// is on hold
|
||
|
IsOnHold bool `json:"IsOnHold,omitempty"`
|
||
|
|
||
|
// last modified
|
||
|
LastModified string `json:"LastModified,omitempty"`
|
||
|
|
||
|
// name
|
||
|
Name string `json:"Name,omitempty"`
|
||
|
|
||
|
// package count
|
||
|
PackageCount float64 `json:"PackageCount,omitempty"`
|
||
|
|
||
|
// plant count
|
||
|
PlantCount float64 `json:"PlantCount,omitempty"`
|
||
|
|
||
|
// source strain count
|
||
|
SourceStrainCount float64 `json:"SourceStrainCount,omitempty"`
|
||
|
|
||
|
// total packaged weight
|
||
|
TotalPackagedWeight float64 `json:"TotalPackagedWeight,omitempty"`
|
||
|
|
||
|
// total restored weight
|
||
|
TotalRestoredWeight float64 `json:"TotalRestoredWeight,omitempty"`
|
||
|
|
||
|
// total waste weight
|
||
|
TotalWasteWeight float64 `json:"TotalWasteWeight,omitempty"`
|
||
|
|
||
|
// total wet weight
|
||
|
TotalWetWeight float64 `json:"TotalWetWeight,omitempty"`
|
||
|
|
||
|
// unit of weight name
|
||
|
UnitOfWeightName string `json:"UnitOfWeightName,omitempty"`
|
||
|
}
|
||
|
|
||
|
// Validate validates this harvest
|
||
|
func (m *Harvest) Validate(formats strfmt.Registry) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// MarshalBinary interface implementation
|
||
|
func (m *Harvest) MarshalBinary() ([]byte, error) {
|
||
|
if m == nil {
|
||
|
return nil, nil
|
||
|
}
|
||
|
return swag.WriteJSON(m)
|
||
|
}
|
||
|
|
||
|
// UnmarshalBinary interface implementation
|
||
|
func (m *Harvest) UnmarshalBinary(b []byte) error {
|
||
|
var res Harvest
|
||
|
if err := swag.ReadJSON(b, &res); err != nil {
|
||
|
return err
|
||
|
}
|
||
|
*m = res
|
||
|
return nil
|
||
|
}
|