2021-01-08 17:40:28 +00:00
|
|
|
// Code generated by go-swagger; DO NOT EDIT.
|
|
|
|
|
2021-01-19 16:58:40 +00:00
|
|
|
// All Code Copyright(c) 2018-2021 by Taxnexus, Inc.
|
2021-01-08 17:40:28 +00:00
|
|
|
// All rights reserved worldwide.
|
|
|
|
// Proprietary product; unlicensed use is not allowed
|
|
|
|
|
|
|
|
package sf_gate_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"
|
|
|
|
)
|
|
|
|
|
|
|
|
// ContractBasic contract basic
|
|
|
|
//
|
|
|
|
// swagger:model ContractBasic
|
|
|
|
type ContractBasic struct {
|
|
|
|
|
|
|
|
// Description
|
|
|
|
Description string `json:"description,omitempty"`
|
|
|
|
|
|
|
|
// Contract End Date
|
|
|
|
Enddate string `json:"enddate,omitempty"`
|
|
|
|
|
|
|
|
// Hourly Rate
|
|
|
|
Hourlyrate float64 `json:"hourlyrate,omitempty"`
|
|
|
|
|
|
|
|
// Taxnexus Record Id
|
|
|
|
ID string `json:"id,omitempty"`
|
|
|
|
|
|
|
|
// Is Active?
|
|
|
|
Isactive bool `json:"isactive,omitempty"`
|
|
|
|
|
|
|
|
// Contract Name
|
|
|
|
Name string `json:"name,omitempty"`
|
|
|
|
|
|
|
|
// UUID Reference the master record that owns this item
|
|
|
|
Parentfk string `json:"parentfk,omitempty"`
|
|
|
|
|
|
|
|
// Payment Terms
|
|
|
|
Paymentterms string `json:"paymentterms,omitempty"`
|
|
|
|
|
|
|
|
// Price Book
|
|
|
|
Pricebook2id string `json:"pricebook2id,omitempty"`
|
|
|
|
|
|
|
|
// Source System identifier for this record, if any
|
|
|
|
Ref string `json:"ref,omitempty"`
|
|
|
|
|
|
|
|
// Contract Start Date
|
|
|
|
Startdate string `json:"startdate,omitempty"`
|
|
|
|
|
|
|
|
// Status
|
|
|
|
Status string `json:"status,omitempty"`
|
|
|
|
|
|
|
|
// tenant identifier
|
|
|
|
Tenantid string `json:"tenantid,omitempty"`
|
|
|
|
|
|
|
|
// Contract Type
|
|
|
|
Type string `json:"type,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// Validate validates this contract basic
|
|
|
|
func (m *ContractBasic) Validate(formats strfmt.Registry) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary interface implementation
|
|
|
|
func (m *ContractBasic) MarshalBinary() ([]byte, error) {
|
|
|
|
if m == nil {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
return swag.WriteJSON(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary interface implementation
|
|
|
|
func (m *ContractBasic) UnmarshalBinary(b []byte) error {
|
|
|
|
var res ContractBasic
|
|
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
*m = res
|
|
|
|
return nil
|
|
|
|
}
|