Pārlūkot izejas kodu

购物金

master
huangjiajun pirms 3 mēnešiem
vecāks
revīzija
97c8647357
1 mainītis faili ar 12 papildinājumiem un 10 dzēšanām
  1. +12
    -10
      src/models/service_award_return_base.go

+ 12
- 10
src/models/service_award_return_base.go Parādīt failu

@@ -1,14 +1,16 @@
package models

import "time"

type ServiceAwardReturnBase struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
TimeType int `json:"time_type" xorm:"default 0 comment('0.每月统一返还(要选择哪一天) 1.按赠送购物金的具体时间每月返还') INT(1)"`
Day string `json:"day" xorm:"VARCHAR(255)"`
ReturnType int `json:"return_type" xorm:"default 0 comment('0系统分期返还方式, 1手动设置返还方式') INT(1)"`
CpsPeriod int `json:"cps_period" xorm:"default 0 INT(11)"`
MallPeriod int `json:"mall_period" xorm:"default 0 INT(11)"`
MemberUplvPeriod int `json:"member_uplv_period" xorm:"INT(11)"`
NewMemberPeriod int `json:"new_member_period" xorm:"default 0 INT(11)"`
AutoDate int `json:"auto_date" xorm:"default 0 INT(11)"`
HandDate int `json:"hand_date" xorm:"default 0 INT(11)"`
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
TimeType int `json:"time_type" xorm:"default 0 comment('0.每月统一返还(要选择哪一天) 1.按赠送购物金的具体时间每月返还') INT(1)"`
Day string `json:"day" xorm:"VARCHAR(255)"`
ReturnType int `json:"return_type" xorm:"default 0 comment('0系统分期返还方式, 1手动设置返还方式') INT(1)"`
CpsPeriod int `json:"cps_period" xorm:"default 0 INT(11)"`
MallPeriod int `json:"mall_period" xorm:"default 0 INT(11)"`
MemberUplvPeriod int `json:"member_uplv_period" xorm:"INT(11)"`
NewMemberPeriod int `json:"new_member_period" xorm:"default 0 INT(11)"`
AutoDate time.Time `json:"auto_date" xorm:"DATETIME"`
HandDate time.Time `json:"hand_date" xorm:"DATETIME"`
}

Notiek ielāde…
Atcelt
Saglabāt