package model import pasturePb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow" type IndicatorsDetails struct { Id int `json:"id"` Kind string `json:"kind"` Name string `json:"name"` CategoryType pasturePb.IndicatorType_Kind `json:"categoryType"` CategoryName string `json:"categoryName"` Unit string `json:"unit"` Zh string `json:"zh"` CreatedAt int64 `json:"createdAt"` UpdatedAt int64 `json:"updatedAt"` } func (IndicatorsDetails) TableName() string { return "indicators_details" }