From b932538cd4d2090ae82c790441002ad44b0da46a Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 21 七月 2023 13:37:02 +0800
Subject: [PATCH] add

---
 model/salesReturn.go |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/model/salesReturn.go b/model/salesReturn.go
index d72c54c..074cbe1 100644
--- a/model/salesReturn.go
+++ b/model/salesReturn.go
@@ -8,15 +8,15 @@
 
 type (
 	SalesReturn struct {
-		Id         int       `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"`
-		ClientId   int       `json:"clientId" gorm:"column:client_id;type:int;comment:瀹㈡埛id"`
-		Number     string    `json:"number" gorm:"column:number;type:varchar(255);comment:閫�璐у崟鍙�"`
-		Repository string    `json:"repository" gorm:"column:repository;type:varchar(255);comment:浠撳簱"`
-		MemberId   int       `json:"memberId" gorm:"column:member_id;type:int;comment:璐熻矗浜篿d"`
-		ReturnDate time.Time `json:"returnDate" gorm:"column:return_date;type:datetime;comment:閫�璐ф棩鏈�"`
-		Status     int       `json:"status" gorm:"column:status;type:int;comment:閫�璐х姸鎬�"`
-		Reason     string    `json:"reason" gorm:"column:reason;type:varchar(255);comment:閫�璐у師鍥�"`
-		Products   []Product `json:"products" gorm:"many2many:salesReturn_product;"`
+		Id                int       `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"`
+		ClientId          int       `json:"clientId" gorm:"column:client_id;type:int;comment:瀹㈡埛id"`
+		Number            string    `json:"number" gorm:"column:number;type:varchar(255);comment:閫�璐у崟鍙�"`
+		Repository        string    `json:"repository" gorm:"column:repository;type:varchar(255);comment:浠撳簱"`
+		MemberId          int       `json:"memberId" gorm:"column:member_id;type:int;comment:璐熻矗浜篿d"`
+		ReturnDate        time.Time `json:"returnDate" gorm:"column:return_date;type:datetime;comment:閫�璐ф棩鏈�"`
+		SalesReturnStatus int       `json:"salesReturnStatus" gorm:"column:sales_return_status;type:int;comment:閫�璐х姸鎬�"`
+		Reason            string    `json:"reason" gorm:"column:reason;type:varchar(255);comment:閫�璐у師鍥�"`
+		Products          []Product `json:"products" gorm:"many2many:salesReturn_product;"`
 	}
 
 	SalesReturnSearch struct {

--
Gitblit v1.8.0