go-common/app/job/main/growup/model/email.go
2019-04-22 18:49:16 +08:00

59 lines
1.5 KiB
Go

package model
import "time"
// IncomeInfo income info.
type IncomeInfo struct {
ID int64 `json:"id"`
AVID int64 `json:"av_id"`
MID int64 `json:"mid"`
TagID int64 `json:"-"`
Income int64 `json:"income"`
BaseIncome int64 `json:"-"`
TotalIncome int64 `json:"total_income"`
TaxMoney int64 `json:"tax_money"`
UploadTime time.Time `json:"-"`
IsDeleted int `json:"-"`
Date time.Time `json:"date"`
BType int `json:"-"`
}
// TotalInfo total info.
type TotalInfo struct {
TotalIncome int64 `json:"total_income"`
MIDCount int `json:"mid_count"`
AVCount int `json:"av_count"`
}
// MIDInfo mid info.
type MIDInfo struct {
ID int64 `json:"id"`
MID int64 `json:"mid"`
Income int64 `json:"income"`
TotalIncome int64 `json:"total_income"`
IsDeleted int `json:"is_deleted"`
NickName string `json:"nickname"`
}
// AVIDInfo av info.
type AVIDInfo struct {
AVID int64 `json:"av_id"`
MID int64 `json:"mid"`
NickName string `json:"nickname"`
Income int64 `json:"income"`
TotalIncome int64 `json:"total_income"`
}
// TagInfo email tag info
type TagInfo struct {
ID int64 `json:"-"`
Tag string `json:"tag"`
Category int `json:"-"`
AVID int64 `json:"-"`
AVCount int `json:"av_count"`
Income int64 `json:"income"`
TotalIncome int64 `json:"total_income"`
IsCommon int `json:"-"`
IsDeleted int `json:"-"`
}