18 lines
574 B
Go
18 lines
574 B
Go
package legacymodel
|
|
|
|
import "git.rosy.net.cn/jx-callback/globals"
|
|
|
|
type Elemeorder2 struct {
|
|
Id int `orm:"column(id);auto"`
|
|
Orderid string `orm:"column(orderid);size(50);null;unique"`
|
|
Data string `orm:"column(data);null"`
|
|
Type int `orm:"column(type);null"`
|
|
Consignee string `orm:"column(consignee);size(32)"`
|
|
Mobile string `orm:"column(mobile);size(32)"`
|
|
OrderCreatedAt string `orm:"column(order_created_at);size(50);index"`
|
|
}
|
|
|
|
func (t *Elemeorder2) TableName() string {
|
|
return globals.ElemeorderTableName
|
|
}
|