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.
13 lines
358 B
13 lines
358 B
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type TDmMz struct {
|
|
MzId string `xorm:"not null pk comment('民族ID') CHAR(2)"`
|
|
MzName string `xorm:"not null comment('民族名称') VARCHAR(20)"`
|
|
UpdateTs time.Time `xorm:"default 'current_timestamp()' TIMESTAMP"`
|
|
IdInt int64 `xorm:"not null autoincr comment('整数主键') unique INT(11)"`
|
|
}
|