- 在 AnmStatus 结构体中添加 Explain 字段,用于解释在校状态的含义 - 新增 Explain 结构体,包含 explain_zh 字段用于中文解释 - 未来可扩展为包含英文解释等更多信息
31 lines
543 B
Go
31 lines
543 B
Go
package model
|
|
|
|
// INFO 一些基础表单的整合
|
|
|
|
type AnmBreed struct {
|
|
BriefModel
|
|
}
|
|
|
|
type AnmSterilzation struct { // TEST How to use BriefModel, the dif between Common
|
|
Id int64 `json:"id"`
|
|
NameZh string `json:"name_zh"`
|
|
NameEn string `json:"name_en"`
|
|
}
|
|
|
|
type AnmStatus struct {
|
|
BriefModel
|
|
*Explain // “在校状态” 这个处理命名方式比较抽象,需要给 AI 解释一下实际含义。
|
|
}
|
|
|
|
type AnmGender struct {
|
|
BriefModel
|
|
}
|
|
|
|
type AnmVaccination struct {
|
|
BriefModel
|
|
}
|
|
|
|
type AnmDeworming struct {
|
|
BriefModel
|
|
}
|