-
Notifications
You must be signed in to change notification settings - Fork 0
/
sys_code.gen.go
27 lines (22 loc) · 948 Bytes
/
sys_code.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
26
27
// 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
const TableNameSysCode = "sys_code"
// SysCode mapped from table <sys_code>
type SysCode struct {
SysCodeID string `gorm:"column:sys_code_id;primaryKey" json:"sys_code_id"`
SysCodeType *string `gorm:"column:sys_code_type" json:"sys_code_type"`
SysCodeTypeName *string `gorm:"column:sys_code_type_name" json:"sys_code_type_name"`
SysCode *string `gorm:"column:sys_code" json:"sys_code"`
SysCodeText *string `gorm:"column:sys_code_text" json:"sys_code_text"`
OrderIndex *int32 `gorm:"column:order_index" json:"order_index"`
Icon *string `gorm:"column:icon" json:"icon"`
}
// TableName SysCode's table name
func (*SysCode) TableName() string {
return TableNameSysCode
}
func (*SysCode) PrimaryKey() []string {
return []string{"sys_code_id"}
}