19 lines
383 B
Go
19 lines
383 B
Go
package main
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
type FsCanteenType struct {
|
|
Id int64 `db:"id"` // ID
|
|
Name string `db:"name"` // 餐厅名字
|
|
Sort int64 `db:"sort"` // 排序
|
|
Status int64 `db:"status"` // 状态位 1启用0停用
|
|
Ctime int64 `db:"ctime"` // 添加时间
|
|
}
|
|
|
|
func TestMain(t *testing.T) {
|
|
// log.Println(model.RawFieldNames[FsCanteenType]())
|
|
main()
|
|
}
|