From 460e591f215fe64d6a097ff4b1ee836d181298ac Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 11 八月 2023 16:12:38 +0800
Subject: [PATCH] fix

---
 model/request/quotation.go |   26 +++++++++++++++++---------
 1 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/model/request/quotation.go b/model/request/quotation.go
index 91654de..f996a4c 100644
--- a/model/request/quotation.go
+++ b/model/request/quotation.go
@@ -1,22 +1,30 @@
 package request
 
+import "aps_crm/model"
+
 type AddQuotation struct {
 	Quotation
 }
 
 type Quotation struct {
-	ClientId          int    `json:"client_id"`
-	Number            string `json:"number"`
-	QuotationStatusId int    `json:"quotation_status_id"`
-	ValidityDate      string `json:"validity_date"`
-	ContactId         int    `json:"contact_id"`
-	MemberId          int    `json:"member_id"`
-	SaleChanceId      int    `json:"sale_chance_id"`
-	Conditions        string `json:"conditions"`
-	File              string `json:"file"`
+	ClientId          int              `json:"client_id"`
+	Number            string           `json:"number"`
+	QuotationStatusId int              `json:"quotation_status_id"`
+	ValidityDate      string           `json:"validity_date"`
+	ContactId         int              `json:"contact_id"`
+	MemberId          int              `json:"member_id"`
+	SaleChanceId      int              `json:"sale_chance_id"`
+	Conditions        string           `json:"conditions"`
+	File              string           `json:"file"`
+	Products          []*model.Product `json:"products"`
 }
 
 type UpdateQuotation struct {
 	Id int `json:"id"`
 	Quotation
 }
+
+type GetQuotationList struct {
+	PageInfo
+	Keyword string `json:"keyword"`
+}

--
Gitblit v1.8.0