mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-23 14:55:42 +00:00
fix get search keuangan; add bank name to supplier and customer
This commit is contained in:
@@ -15,6 +15,7 @@ type Customer struct {
|
||||
Phone string `gorm:"not null;size:20"`
|
||||
Email string `gorm:"type:varchar(50);not null"`
|
||||
AccountNumber string `gorm:"not null;size:50"`
|
||||
BankName string `gorm:"not null;size:100;default:''"`
|
||||
Balance float64 `gorm:"default:0"`
|
||||
CreatedBy uint `gorm:"not null"`
|
||||
CreatedAt time.Time `gorm:"autoCreateTime"`
|
||||
|
||||
@@ -19,6 +19,7 @@ type Supplier struct {
|
||||
Address string `gorm:"not null"`
|
||||
Npwp *string `gorm:"size:50"`
|
||||
AccountNumber *string `gorm:"size:50"`
|
||||
BankName *string `gorm:"size:100"`
|
||||
Balance float64 `gorm:"type:numeric(15,3);default:0"`
|
||||
DueDate int `gorm:"not null"`
|
||||
CreatedBy uint `gorm:"not null"`
|
||||
|
||||
Reference in New Issue
Block a user