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.
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 TBaseParent struct {
PersonId string ` xorm:"not null pk comment('家长ID') index(person_id) CHAR(36)" `
Xm string ` xorm:"not null default '''' comment('家长姓名') VARCHAR(100)" `
Lxdh string ` xorm:"not null default '''' comment('联系电话') index(person_id) VARCHAR(100)" `
StudentId string ` xorm:"not null default '''' comment('对应的学生ID') index CHAR(36)" `
ClassId string ` xorm:"not null default '''' comment('对应学生的所在班级ID') index CHAR(36)" `
BureauId string ` xorm:"not null default '''' comment('对应学生的所在学校ID') index CHAR(36)" `
ProvinceCode string ` xorm:"not null default '''' comment('所在省行政区划码') CHAR(6)" `
CityCode string ` xorm:"not null default '''' comment('所在市行政区划码') CHAR(6)" `
DistrictCode string ` xorm:"not null default '''' comment('所在区行政区划码') CHAR(6)" `
MainSchoolId string ` xorm:"not null default '''' comment('所在主校ID') CHAR(36)" `
BUse int32 ` xorm:"not null default 1 comment('是否启用 0: 未启用 1: 启用') index(person_id) TINYINT(1)" `
CreateTime time . Time ` xorm:"not null default 'current_timestamp()' comment('创建时间') TIMESTAMP" `
}