testassets

package
v1.8.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	CommentID   int64       `db:"CommentID" json:"CommentID"`
	DateCreated int64       `db:"DateCreated" json:"DateCreated"`
	IsDeleted   int         `db:"IsDeleted" json:"IsDeleted"`
	Content     null.String `db:"Content" json:"Content"`
	ObjectType  int64       `db:"ObjectType" json:"ObjectType"`
	ObjectID    int64       `db:"ObjectID" json:"ObjectID"`
	Name        string      `db:"Name" json:"Name"`
}

Comment is a `Comment` data model

func (*Comment) Create added in v1.8.7

func (c *Comment) Create() string

func (*Comment) Destroy added in v1.8.1

func (c *Comment) Destroy() string

func (*Comment) FromID added in v1.8.9

func (c *Comment) FromID(id int64) string

func (*Comment) String

func (c *Comment) String() string

func (*Comment) Table_Column_Types

func (c *Comment) Table_Column_Types() map[string]string

func (*Comment) Table_Column_Values

func (c *Comment) Table_Column_Values() map[string]interface{}

func (*Comment) Table_Columns

func (c *Comment) Table_Columns() []string

func (*Comment) Table_InsertColumns

func (c *Comment) Table_InsertColumns() []string

Comment_InsertColumns is a list of all insert columns for this model

func (*Comment) Table_Name

func (c *Comment) Table_Name() string

Comment_TableName is the name of the table

func (*Comment) Table_PrimaryKey

func (c *Comment) Table_PrimaryKey() string

Comment_PrimaryKey is the name of the table's primary key

func (*Comment) Table_PrimaryKey_Value

func (c *Comment) Table_PrimaryKey_Value() int64

func (*Comment) Table_UpdateColumns

func (c *Comment) Table_UpdateColumns() []string

Comment_UpdateColumns is a list of all update columns for this model

func (*Comment) Update added in v1.8.7

func (c *Comment) Update() string

type Job

type Job struct {
	JobID                  int64       `db:"JobID" json:"JobID"`
	DateCreated            int64       `db:"DateCreated" json:"DateCreated"`
	LastUpdated            int64       `db:"LastUpdated" json:"LastUpdated"`
	IsDeleted              int         `db:"IsDeleted" json:"IsDeleted"`
	QuoteNumberID          int64       `db:"QuoteNumberID" json:"QuoteNumberID"`
	CustomerID             int64       `db:"CustomerID" json:"CustomerID"`
	AwardDate              int64       `db:"AwardDate" json:"AwardDate"`
	AwardDateString        string      `db:"AwardDateString" json:"AwardDateString"`
	QuoteID                int64       `db:"QuoteID" json:"QuoteID"`
	Description            string      `db:"Description" json:"Description"`
	CustomerContactID      int64       `db:"CustomerContactID" json:"CustomerContactID"`
	Notes                  null.String `db:"Notes" json:"Notes"`
	CustomerPO2SentTo      int64       `db:"CustomerPO2SentTo" json:"CustomerPO2SentTo"`
	ThirdPartyName         string      `db:"ThirdPartyName" json:"ThirdPartyName"`
	CustomerPO2Number      string      `db:"CustomerPO2Number" json:"CustomerPO2Number"`
	BillingAddressZip      string      `db:"BillingAddressZip" json:"BillingAddressZip"`
	BillingAddress         string      `db:"BillingAddress" json:"BillingAddress"`
	BillingAddressState    string      `db:"BillingAddressState" json:"BillingAddressState"`
	CustomerPO1SentTo      int64       `db:"CustomerPO1SentTo" json:"CustomerPO1SentTo"`
	ProjectCost            float64     `db:"ProjectCost" json:"ProjectCost"`
	CustomerPO1Number      string      `db:"CustomerPO1Number" json:"CustomerPO1Number"`
	ThirdPartySplitPercent float64     `db:"ThirdPartySplitPercent" json:"ThirdPartySplitPercent"`
	CommissionTypeID       int64       `db:"CommissionTypeID" json:"CommissionTypeID"`
	GrossMarginPercent     float64     `db:"GrossMarginPercent" json:"GrossMarginPercent"`
	TotalPrice             float64     `db:"TotalPrice" json:"TotalPrice"`
	IsThirdPartySplit      int         `db:"IsThirdPartySplit" json:"IsThirdPartySplit"`
	GrossProfit            float64     `db:"GrossProfit" json:"GrossProfit"`
	BillingAddressCity     string      `db:"BillingAddressCity" json:"BillingAddressCity"`
	RemainingGrossProfit   float64     `db:"RemainingGrossProfit" json:"RemainingGrossProfit"`
	IsAddFreight           int         `db:"IsAddFreight" json:"IsAddFreight"`
	JobNumberString        string      `db:"JobNumberString" json:"JobNumberString"`
	ThirdPartyCommission   float64     `db:"ThirdPartyCommission" json:"ThirdPartyCommission"`
	ShippingAddressZip     string      `db:"ShippingAddressZip" json:"ShippingAddressZip"`
	ShippingAddress        string      `db:"ShippingAddress" json:"ShippingAddress"`
	ShippingAddressCity    string      `db:"ShippingAddressCity" json:"ShippingAddressCity"`
	ShippingAddressState   string      `db:"ShippingAddressState" json:"ShippingAddressState"`
	Sales1                 string      `db:"Sales1" json:"Sales1"`
	BidTypeID              int64       `db:"BidTypeID" json:"BidTypeID"`
	Vendor1ID              int64       `db:"Vendor1ID" json:"Vendor1ID"`
	MarketID               int64       `db:"MarketID" json:"MarketID"`
	Vendor2ID              int64       `db:"Vendor2ID" json:"Vendor2ID"`
	Sales2                 string      `db:"Sales2" json:"Sales2"`
	JEFDate                int64       `db:"JEFDate" json:"JEFDate"`
	JEFDateString          string      `db:"JEFDateString" json:"JEFDateString"`
}

Job is a `Job` data model

func (*Job) Create added in v1.8.7

func (c *Job) Create() string

func (*Job) Destroy added in v1.8.1

func (c *Job) Destroy() string

func (*Job) FromID added in v1.8.9

func (c *Job) FromID(id int64) string

func (*Job) String

func (c *Job) String() string

func (*Job) Table_Column_Types

func (c *Job) Table_Column_Types() map[string]string

func (*Job) Table_Column_Values

func (c *Job) Table_Column_Values() map[string]interface{}

func (*Job) Table_Columns

func (c *Job) Table_Columns() []string

func (*Job) Table_InsertColumns

func (c *Job) Table_InsertColumns() []string

Comment_InsertColumns is a list of all insert columns for this model

func (*Job) Table_Name

func (c *Job) Table_Name() string

Comment_TableName is the name of the table

func (*Job) Table_PrimaryKey

func (c *Job) Table_PrimaryKey() string

Comment_PrimaryKey is the name of the table's primary key

func (*Job) Table_PrimaryKey_Value

func (c *Job) Table_PrimaryKey_Value() int64

func (*Job) Table_UpdateColumns

func (c *Job) Table_UpdateColumns() []string

Comment_UpdateColumns is a list of all update columns for this model

func (*Job) Update added in v1.8.7

func (c *Job) Update() string

type JobSales

type JobSales struct {
	JobSalesID        int64   `db:"JobSalesID" json:"JobSalesID"`
	JobID             int64   `db:"JobID" json:"JobID"`
	UserID            int64   `db:"UserID" json:"UserID"`
	CommissionPercent float64 `db:"CommissionPercent" json:"CommissionPercent"`
	DateCreated       int64   `db:"DateCreated" json:"DateCreated"`
	IsDeleted         int     `db:"IsDeleted" json:"IsDeleted"`
	CommissionDollars float64 `db:"CommissionDollars" json:"CommissionDollars"`
	IsHouse           int     `db:"IsHouse" json:"IsHouse"`
}

JobSales is a `JobSales` data model

func (*JobSales) Create added in v1.8.7

func (c *JobSales) Create() string

func (*JobSales) Destroy added in v1.8.1

func (c *JobSales) Destroy() string

func (*JobSales) FromID added in v1.8.9

func (c *JobSales) FromID(id int64) string

func (*JobSales) String

func (c *JobSales) String() string

func (*JobSales) Table_Column_Types

func (c *JobSales) Table_Column_Types() map[string]string

func (*JobSales) Table_Column_Values

func (c *JobSales) Table_Column_Values() map[string]interface{}

func (*JobSales) Table_Columns

func (c *JobSales) Table_Columns() []string

func (*JobSales) Table_InsertColumns

func (c *JobSales) Table_InsertColumns() []string

Comment_InsertColumns is a list of all insert columns for this model

func (*JobSales) Table_Name

func (c *JobSales) Table_Name() string

Comment_TableName is the name of the table

func (*JobSales) Table_PrimaryKey

func (c *JobSales) Table_PrimaryKey() string

Comment_PrimaryKey is the name of the table's primary key

func (*JobSales) Table_PrimaryKey_Value

func (c *JobSales) Table_PrimaryKey_Value() int64

func (*JobSales) Table_UpdateColumns

func (c *JobSales) Table_UpdateColumns() []string

Comment_UpdateColumns is a list of all update columns for this model

func (*JobSales) Update added in v1.8.7

func (c *JobSales) Update() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL