// Code generated by gormcol. DO NOT EDIT. package dbmodel import ( "git.ma-al.com/goc_marek/gormcol" "time" ) const TableNamePsMaalInvoiceNote = "ps_maal_invoice_note" // PsMaalInvoiceNote mapped from table type PsMaalInvoiceNote struct { IDOrder int32 `gorm:"column:id_order;primaryKey" json:"id_order"` Note *string `gorm:"column:note" json:"note"` DateAdd time.Time `gorm:"column:date_add;not null;default:current_timestamp()" json:"date_add"` } // TableName PsMaalInvoiceNote's table name func (*PsMaalInvoiceNote) TableName() string { return TableNamePsMaalInvoiceNote } var PsMaalInvoiceNoteCols = struct { IDOrder gormcol.Field Note gormcol.Field DateAdd gormcol.Field }{ IDOrder: gormcol.Field{}.Set((&PsMaalInvoiceNote{}).TableName(), "id_order"), Note: gormcol.Field{}.Set((&PsMaalInvoiceNote{}).TableName(), "note"), DateAdd: gormcol.Field{}.Set((&PsMaalInvoiceNote{}).TableName(), "date_add"), }