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.
16 lines
630 B
16 lines
630 B
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type TThirdPartySample struct {
|
|
Id int64 `xorm:"not null pk autoincr INT(11)"`
|
|
OrgCode string `xorm:"default 'NULL' comment('单位代码') VARCHAR(36)"`
|
|
IdcardCode string `xorm:"default 'NULL' comment('身份证号') CHAR(128)"`
|
|
PersonName string `xorm:"not null comment('人员姓名') VARCHAR(32)"`
|
|
CreateTime time.Time `xorm:"not null comment('创建时间') index DATETIME"`
|
|
UpdateTs time.Time `xorm:"not null default 'current_timestamp()' comment('更新时间戳') TIMESTAMP"`
|
|
IpAddress int64 `xorm:"not null comment('访问者IP') BIGINT(11)"`
|
|
}
|