// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package dbmodel import ( "git.ma-al.com/goc_marek/gormcol" "time" ) const TableNamePsOrderNote = "ps_order_notes" // PsOrderNote mapped from table type PsOrderNote struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` IDOrder int32 `gorm:"column:id_order;not null" json:"id_order"` IDEmployee int32 `gorm:"column:id_employee;not null" json:"id_employee"` Note *string `gorm:"column:note" json:"note"` DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"` DateUpd time.Time `gorm:"column:date_upd;not null" json:"date_upd"` } // TableName PsOrderNote's table name func (*PsOrderNote) TableName() string { return TableNamePsOrderNote } var PsOrderNoteCols = struct { ID gormcol.Field IDOrder gormcol.Field IDEmployee gormcol.Field Note gormcol.Field DateAdd gormcol.Field DateUpd gormcol.Field }{ ID: gormcol.Field{Table: TableNamePsOrderNote, Column: "id"}, IDOrder: gormcol.Field{Table: TableNamePsOrderNote, Column: "id_order"}, IDEmployee: gormcol.Field{Table: TableNamePsOrderNote, Column: "id_employee"}, Note: gormcol.Field{Table: TableNamePsOrderNote, Column: "note"}, DateAdd: gormcol.Field{Table: TableNamePsOrderNote, Column: "date_add"}, DateUpd: gormcol.Field{Table: TableNamePsOrderNote, Column: "date_upd"}, }