- remove useless legacy codes.
- refactor models
This commit is contained in:
21
business/model/legacymodel2/jdorder.go
Normal file
21
business/model/legacymodel2/jdorder.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package legacymodel
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
)
|
||||
|
||||
type Jdorder2 struct {
|
||||
Id int `orm:"column(id);auto"`
|
||||
Code string `orm:"column(code);size(2);null"`
|
||||
Msg string `orm:"column(msg);size(100);null"`
|
||||
Data string `orm:"column(data);null"`
|
||||
Success int8 `orm:"column(success);null"`
|
||||
Jdorderid int64 `orm:"column(jdorderid);null;unique"`
|
||||
Cityname string `orm:"column(cityname);size(20);null"`
|
||||
Orderstatus int `orm:"column(orderstatus);null"`
|
||||
Orderstatustime string `orm:"column(orderstatustime);size(50);null;index"`
|
||||
}
|
||||
|
||||
func (t *Jdorder2) TableName() string {
|
||||
return globals.JdorderTableName
|
||||
}
|
||||
Reference in New Issue
Block a user