// 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 TableNamePsInvoiceCustomer = "ps_invoice_customer" // PsInvoiceCustomer mapped from table type PsInvoiceCustomer struct { IDInvoiceCustomer int32 `gorm:"column:id_invoice_customer;primaryKey;autoIncrement:true" json:"id_invoice_customer"` IDCustomer int32 `gorm:"column:id_customer;not null;uniqueIndex:UQ_ps_invoice_customer_id_customer,priority:1" json:"id_customer"` IDShopCompany int32 `gorm:"column:id_shop_company;not null;index:FK_ps_invoice_customer_id_shop_company,priority:1" json:"id_shop_company"` DateAdd *time.Time `gorm:"column:date_add;default:current_timestamp()" json:"date_add"` DateUpd *time.Time `gorm:"column:date_upd;default:current_timestamp()" json:"date_upd"` } // TableName PsInvoiceCustomer's table name func (*PsInvoiceCustomer) TableName() string { return TableNamePsInvoiceCustomer }