mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 21:12:33 +00:00
33 lines
1.2 KiB
Go
33 lines
1.2 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 TableNameCardRedeemCookieInfo = "card_redeem_cookie_info"
|
|
|
|
// CardRedeemCookieInfo mapped from table <card_redeem_cookie_info>
|
|
type CardRedeemCookieInfo struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
Name string `gorm:"column:name;not null" json:"name"`
|
|
Cookie string `gorm:"column:cookie;not null" json:"cookie"`
|
|
Notes string `gorm:"column:notes" json:"notes"`
|
|
Status string `gorm:"column:status" json:"status"`
|
|
Category string `gorm:"column:category" json:"category"`
|
|
FailCount int32 `gorm:"column:fail_count;not null;comment:调用次数" json:"fail_count"` // 调用次数
|
|
CreatedAt time.Time `gorm:"column:created_at;not null" json:"created_at"`
|
|
UpdatedAt time.Time `gorm:"column:updated_at;not null" json:"updated_at"`
|
|
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at" json:"deleted_at"`
|
|
}
|
|
|
|
// TableName CardRedeemCookieInfo's table name
|
|
func (*CardRedeemCookieInfo) TableName() string {
|
|
return TableNameCardRedeemCookieInfo
|
|
}
|