14 lines
438 B
Go
14 lines
438 B
Go
package model
|
|
|
|
// SysSequence 系统序列表
|
|
type SysSequence struct {
|
|
Name string `gorm:"column:table_name;type:varchar(32);not null;comment:表名" json:"name"`
|
|
Seq int `gorm:"column:seq;type:int(11);not null;comment:序列" json:"seq"`
|
|
Prefix string `gorm:"column:Prefix;type:varchar(32);not null;comment:前缀" json:"prefix"`
|
|
}
|
|
|
|
// TableName table name
|
|
func (m *SysSequence) TableName() string {
|
|
return "sys_sequence"
|
|
}
|