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 Model
import (
"time"
)
type TBaseParent struct {
Id int ` xorm:"not null pk autoincr INT(11)" `
Xm string ` xorm:"default 'NULL' comment('家长姓名') VARCHAR(100)" `
Lxdh string ` xorm:"default 'NULL' comment('联系电话') VARCHAR(100)" `
StudentId int ` xorm:"default NULL comment('对应的学生ID') INT(11)" `
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)" `
}