mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
34 lines
1.5 KiB
Go
34 lines
1.5 KiB
Go
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
|
|
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
const TableNameCardRedeemAccountSummary = "card_redeem_account_summary"
|
|
|
|
// CardRedeemAccountSummary mapped from table <card_redeem_account_summary>
|
|
type CardRedeemAccountSummary struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
AccountID string `gorm:"column:account_id;not null" json:"account_id"`
|
|
AmountTotalSum float32 `gorm:"column:amount_total_sum;not null" json:"amount_total_sum"`
|
|
AmountTodaySum float32 `gorm:"column:amount_today_sum;not null" json:"amount_today_sum"`
|
|
AmountTotalCount int32 `gorm:"column:amount_total_count;not null" json:"amount_total_count"`
|
|
AmountTodayCount int32 `gorm:"column:amount_today_count;not null" json:"amount_today_count"`
|
|
Date time.Time `gorm:"column:date" json:"date"`
|
|
Category string `gorm:"column:category" json:"category"`
|
|
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
|
|
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
|
|
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at" json:"deleted_at"`
|
|
}
|
|
|
|
// TableName CardRedeemAccountSummary's table name
|
|
func (*CardRedeemAccountSummary) TableName() string {
|
|
return TableNameCardRedeemAccountSummary
|
|
}
|