You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sonic/model/entity/comment_black.gen.go

26 lines
868 B
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 entity
import (
"time"
)
const TableNameCommentBlack = "comment_black"
// CommentBlack mapped from table <comment_black>
type CommentBlack struct {
ID int32 `gorm:"column:id;type:int;primaryKey;autoIncrement:true" json:"id"`
CreateTime time.Time `gorm:"column:create_time;type:datetime;not null" json:"create_time"`
UpdateTime *time.Time `gorm:"column:update_time;type:datetime" json:"update_time"`
BanTime time.Time `gorm:"column:ban_time;type:datetime;not null" json:"ban_time"`
IPAddress string `gorm:"column:ip_address;type:varchar(127);not null" json:"ip_address"`
}
// TableName CommentBlack's table name
func (*CommentBlack) TableName() string {
return TableNameCommentBlack
}