From 4480763be441c09e9034d6a347587a2b1a5e197a Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 17 十月 2023 21:01:47 +0800
Subject: [PATCH] fix

---
 model/salesRefund.go |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/model/salesRefund.go b/model/salesRefund.go
index 380aa9a..d4aadd8 100644
--- a/model/salesRefund.go
+++ b/model/salesRefund.go
@@ -23,6 +23,8 @@
 		RefundDate    string                    `json:"refundDate" gorm:"column:refund_date;type:varchar(255);comment:閫�娆炬棩鏈�"`
 		PaymentTypeId int                       `gorm:"column:payment_type_id;type:int;not null;default 0;comment:鏀舵鏂瑰紡ID" json:"paymentTypeId"` // 鏀舵鏂瑰紡ID
 		PaymentType   PaymentType               `gorm:"foreignKey:PaymentTypeId" json:"paymentType"`
+		RefundTypeId  int                       `gorm:"column:refund_type_id;type:int;not null;default 0;comment:鏀舵鏂瑰紡ID" json:"refundTypeId"` // 閫�娆炬柟寮廔D
+		RefundType    RefundType                `gorm:"foreignKey:RefundTypeId" json:"RefundType"`                                            //閫�娆炬柟寮�
 		BankAccountId int                       `gorm:"column:bank_account_id;type:int;not null;default 0;comment:璐︽埛id" json:"bankAccountId"` // 璐︽埛id
 		BankAccount   BankAccount               `gorm:"foreignKey:BankAccountId" json:"bankAccount"`
 		IsInvoice     string                    `json:"isInvoice" gorm:"column:is_invoice;type:varchar(255);comment:鏄惁寮�绁�"`

--
Gitblit v1.8.0