Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
447f00a446
1 changed files with 21 additions and 0 deletions
  1. +21
    -0
      src/models/yibao_merchant.go

+ 21
- 0
src/models/yibao_merchant.go View File

@@ -0,0 +1,21 @@
package models

import (
"time"
)

type YibaoMerchant struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
RequestNo string `json:"request_no" xorm:"VARCHAR(255)"`
MerchantNo string `json:"merchant_no" xorm:"VARCHAR(255)"`
State string `json:"state" xorm:"VARCHAR(255)"`
ApplicationNo string `json:"application_no" xorm:"VARCHAR(255)"`
CreateTime time.Time `json:"create_time" xorm:"DATETIME"`
UpdateTime time.Time `json:"update_time" xorm:"DATETIME"`
StoreId int `json:"store_id" xorm:"default 0 INT(11)"`
Platform string `json:"platform" xorm:"default '' comment('official官方 o2o b2c ') VARCHAR(255)"`
Data string `json:"data" xorm:"TEXT"`
ErrMsg string `json:"err_msg" xorm:"VARCHAR(5000)"`
Type string `json:"type" xorm:"comment('platform平台商 store入驻商家') VARCHAR(255)"`
StoreType string `json:"store_type" xorm:"VARCHAR(255)"`
}

Loading…
Cancel
Save