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/models/t_base_student.go

34 lines
2.6 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 models
import (
"time"
)
type TBaseStudent struct {
PersonId string `xorm:"not null pk comment('学生ID') index(person_id) CHAR(36)"`
Xm string `xorm:"not null default '''' comment('学生姓名') VARCHAR(100)"`
Xmpy string `xorm:"not null default '''' comment('姓名拼音') VARCHAR(100)"`
Cym string `xorm:"not null default '''' comment('曾用名') VARCHAR(100)"`
Xbm string `xorm:"not null default '''' comment('性别(有字典)') CHAR(1)"`
Csrq time.Time `xorm:"not null default ''1900-01-01'' comment('出生日期') DATE"`
Mzm string `xorm:"not null default '''' comment('民族 (有字典)') CHAR(2)"`
Zzmmm string `xorm:"not null default '''' comment('政治面貌 (有字典)') CHAR(2)"`
Sfzjlxm string `xorm:"not null default '''' comment('身份证件类型代码 (有字典)') CHAR(1)"`
Sfzjh string `xorm:"not null default '''' comment('身份证件号') index(person_id) index VARCHAR(30)"`
Dszybz int32 `xorm:"not null default 1 comment('独生子女标志 -1不是 1是') INT(11)"`
Sqznbz int32 `xorm:"not null default -1 comment('随迁子女标志 -1不是 1是') INT(11)"`
Jcwgrysqznbz int32 `xorm:"not null default -1 comment('进城务工人员随迁子女标志 -1不是 1是') INT(11)"`
Gebz int32 `xorm:"not null default -1 comment('孤儿标志 -1不是 1是') INT(11)"`
Lsetbz int32 `xorm:"not null default -1 comment('留守儿童标志 -1不是 1是') INT(11)"`
Cjbz int32 `xorm:"not null default -1 comment('残疾标志 -1不是 1是') INT(11)"`
ClassId string `xorm:"not null default '''' comment('班级ID') index CHAR(36)"`
BureauId string `xorm:"not null default '''' comment('学校ID') index CHAR(36)"`
BUse int32 `xorm:"not null default 1 comment('是否启用 -1未启用 1启用') index(person_id) TINYINT(1)"`
StateId int32 `xorm:"not null default 1 comment('状态码') INT(11)"`
ProvinceCode string `xorm:"not null default '''' comment('所在省行政区划码') CHAR(6)"`
CityCode string `xorm:"not null default '''' comment('所在市行政区划码') index CHAR(6)"`
DistrictCode string `xorm:"not null default '''' comment('所在区行政区划码') CHAR(6)"`
MainSchoolId string `xorm:"not null default '''' comment('所在主校ID') CHAR(36)"`
CreateTime time.Time `xorm:"not null default 'current_timestamp()' comment('创建时间') TIMESTAMP"`
}