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.
dsMin/dsSso/Model/t_base_student.go

35 lines
2.5 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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)"`
}