|
|
@@ -27,7 +27,7 @@ type Entity struct {
|
|
|
entity.Base
|
|
|
Father string `sqlmapping:"column:father" sqlresult:"column:father" check:"required,lte=128"`
|
|
|
Mother string `sqlmapping:"column:mother" sqlresult:"column:mother" check:"required,lte=128"`
|
|
|
- StudentID string `sqlmapping:"column:student_id" sqlresult:"column:student_id"`
|
|
|
+ StudentID string `sqlmapping:"column:student_id" sqlresult:"column:student_id" check:"required,eq=32"`
|
|
|
entity.TimeFields
|
|
|
}
|
|
|
|