|
|
package Model
|
|
|
|
|
|
import (
|
|
|
"time"
|
|
|
)
|
|
|
|
|
|
type TBaseStudent struct {
|
|
|
StudentId int `xorm:"not null pk autoincr comment('学生ID') INT(11)"`
|
|
|
Xm string `xorm:"default 'NULL' comment('学生姓名') VARCHAR(100)"`
|
|
|
Xmpy string `xorm:"default 'NULL' VARCHAR(100)"`
|
|
|
Cym string `xorm:"default '''' comment('曾用名') VARCHAR(100)"`
|
|
|
Xbm string `xorm:"default '''' comment('性别 有字典') CHAR(1)"`
|
|
|
Csrq time.Time `xorm:"default 'NULL' comment('出生日期') DATE"`
|
|
|
Mzm string `xorm:"default '''' comment('民族 有字典') CHAR(2)"`
|
|
|
Zzmmm string `xorm:"default '''' comment('政治面貌 有字典') CHAR(2)"`
|
|
|
Sfzjlxm string `xorm:"default '''' comment('身份证件类型代码 有字典') CHAR(1)"`
|
|
|
Sfzjh string `xorm:"default 'NULL' comment('身份证件号') VARCHAR(100)"`
|
|
|
Dszybz string `xorm:"default '''' comment('独生子女标志 0:不是 1:是') CHAR(1)"`
|
|
|
Sqznbz string `xorm:"default '''' comment('随迁子女标志 0:不是 1:是') CHAR(1)"`
|
|
|
Jcwgrysqznbz string `xorm:"default '''' comment('进城务工人员随迁子女标志 0:不是 1:是') CHAR(1)"`
|
|
|
Gebz string `xorm:"default '''' comment('孤儿标志 0:不是 1:是') CHAR(1)"`
|
|
|
Lsetbz string `xorm:"default '''' comment('留守儿童标志 0:不是 1:是') CHAR(1)"`
|
|
|
Cjbz string `xorm:"default '''' comment('残疾标志 0:不是 1:是') CHAR(1)"`
|
|
|
ClassId int `xorm:"default NULL comment('班级ID') INT(11)"`
|
|
|
BureauId int `xorm:"default NULL comment('学校ID') INT(11)"`
|
|
|
BUse int `xorm:"default NULL comment('是否启用 0:未启用 1:启用') INT(11)"`
|
|
|
ProvinceId string `xorm:"default 'NULL' comment('所在省行政区划码') CHAR(6)"`
|
|
|
CityId string `xorm:"default 'NULL' comment('所在市行政区划码') CHAR(6)"`
|
|
|
DistrictId string `xorm:"default 'NULL' comment('所在区行政区划码') CHAR(6)"`
|
|
|
CreateTime time.Time `xorm:"default 'NULL' comment('创建时间') DATETIME"`
|
|
|
CreatePerson int `xorm:"default NULL comment('创建人ID') INT(11)"`
|
|
|
LastUpdatedTime time.Time `xorm:"default 'current_timestamp()' comment('最后修改时间') TIMESTAMP"`
|
|
|
LastUpdatedPerson int `xorm:"default NULL comment('最后修改人ID') INT(11)"`
|
|
|
}
|