-
Notifications
You must be signed in to change notification settings - Fork 0
/
pay_tags.gen.go
25 lines (20 loc) · 1.3 KB
/
pay_tags.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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 models
import "gorm.io/plugin/soft_delete"
const TableNamePayTag = "pay_tags"
// PayTag mapped from table <pay_tags>
type PayTag struct {
ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID
Pid int64 `gorm:"column:pid;comment:父 id" json:"pid"` // 父 id
Name string `gorm:"column:name;not null;comment:名称" json:"name"` // 名称
Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注
CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间
UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间
Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除
}
// TableName PayTag's table name
func (*PayTag) TableName() string {
return TableNamePayTag
}