You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
440 B
22 lines
440 B
package model
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const (
|
|
DealerAssessKindEstimate = 1 // 评估次数
|
|
DealerAssessKindContract = 2 // 合同数量
|
|
)
|
|
|
|
type DealerWalletAssess struct {
|
|
Id uint `gorm:"primaryKey"`
|
|
DealerId uint // 车商id
|
|
Kind uint // 余量种类1=评估2=合同
|
|
TotalCount int // 累计次数
|
|
Count int // 当前剩余次数
|
|
UseCount int // 已使用次数
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
}
|