16 lines
512 B
Go
16 lines
512 B
Go
package legacymodel2
|
|
|
|
type Elemeorder 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 *Elemeorder) TableName() string {
|
|
return "elemeorder"
|
|
}
|