zhangqian
2023-08-11 ae6883ce426727efca4facab973d814ae66c69c2
model/salesReturn.go
@@ -3,7 +3,6 @@
import (
   "aps_crm/pkg/mysqlx"
   "gorm.io/gorm"
   "time"
)
type (
@@ -13,7 +12,7 @@
      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:负责人id"`
      ReturnDate        time.Time `json:"returnDate" gorm:"column:return_date;type:datetime;comment:退货日期"`
      ReturnDate        *CustomTime `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;"`