feat: add invoice and alternative_componen management functionality

This commit is contained in:
Tran Anh Tuan
2026-05-12 11:57:11 +07:00
parent c39b010e5e
commit e81a248a61
23 changed files with 3325 additions and 2 deletions

View 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"`
}