// 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 prestadb import ( "time" ) const TableNamePsStockMvt = "ps_stock_mvt" // PsStockMvt mapped from table type PsStockMvt struct { IDStockMvt int64 `gorm:"column:id_stock_mvt;primaryKey;autoIncrement:true" json:"id_stock_mvt"` IDStock int32 `gorm:"column:id_stock;not null;index:id_stock,priority:1" json:"id_stock"` IDOrder *int32 `gorm:"column:id_order" json:"id_order"` IDSupplyOrder *int32 `gorm:"column:id_supply_order" json:"id_supply_order"` IDStockMvtReason int32 `gorm:"column:id_stock_mvt_reason;not null;index:id_stock_mvt_reason,priority:1" json:"id_stock_mvt_reason"` IDEmployee int32 `gorm:"column:id_employee;not null" json:"id_employee"` EmployeeLastname *string `gorm:"column:employee_lastname" json:"employee_lastname"` EmployeeFirstname *string `gorm:"column:employee_firstname" json:"employee_firstname"` PhysicalQuantity int32 `gorm:"column:physical_quantity;not null" json:"physical_quantity"` DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"` Sign int32 `gorm:"column:sign;not null;default:1" json:"sign"` PriceTe *float64 `gorm:"column:price_te;default:0.000000" json:"price_te"` LastWa *float64 `gorm:"column:last_wa;default:0.000000" json:"last_wa"` CurrentWa *float64 `gorm:"column:current_wa;default:0.000000" json:"current_wa"` Referer *int64 `gorm:"column:referer" json:"referer"` } // TableName PsStockMvt's table name func (*PsStockMvt) TableName() string { return TableNamePsStockMvt }