feat: add invoice and alternative_componen management functionality
This commit is contained in:
19
internal/models/invoice_model.go
Normal file
19
internal/models/invoice_model.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package models
|
||||
|
||||
import "time"
|
||||
|
||||
type Invoice struct {
|
||||
ID int64 `json:"id"`
|
||||
InvoiceCode string `json:"invoiceCode"`
|
||||
Type string `json:"type"`
|
||||
Status string `json:"status"`
|
||||
InvoiceConfigID int64 `json:"invoiceConfigId"`
|
||||
TotalItems int32 `json:"totalItems"`
|
||||
Note string `json:"note"`
|
||||
CreatedBy string `json:"createdBy"`
|
||||
ApprovedBy string `json:"approvedBy"`
|
||||
CompletedAt time.Time `json:"completedAt"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
Metadata []byte `json:"metadata"`
|
||||
}
|
||||
Reference in New Issue
Block a user