BE-MiniERP/modules/sales/models/sales_order.go
2025-06-23 15:32:27 +07:00

18 lines
497 B
Go

package models
import "time"
type SalesOrder struct {
ID uint `gorm:"primaryKey" json:"id"`
CustomerID uint `json:"customer_id"`
OrderDate time.Time `json:"order_date"`
Status string `json:"status"`
TotalAmount float64 `json:"total_amount"`
Note string `json:"note"`
PaymentTerms string `json:"payment_terms"`
DueDate time.Time `json:"due_date"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}