You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
383 B
33 lines
383 B
package models
|
|
|
|
type A struct {
|
|
Id int `xorm:"integer"`
|
|
}
|
|
|
|
func (m *A) TableName() string {
|
|
return "a"
|
|
}
|
|
|
|
type B struct {
|
|
Id int `xorm:"INTEGER"`
|
|
}
|
|
|
|
func (m *B) TableName() string {
|
|
return "b"
|
|
}
|
|
|
|
type C struct {
|
|
Id int `xorm:"INTEGER"`
|
|
}
|
|
|
|
func (m *C) TableName() string {
|
|
return "c"
|
|
}
|
|
|
|
type D struct {
|
|
Id int `xorm:"INTEGER"`
|
|
}
|
|
|
|
func (m *D) TableName() string {
|
|
return "d"
|
|
}
|