indicators_details.go 737 B

12345678910111213141516171819
  1. package model
  2. import pasturePb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow"
  3. type IndicatorsDetails struct {
  4. Id int `json:"id"`
  5. Kind string `json:"kind"`
  6. Name string `json:"name"`
  7. CategoryType pasturePb.IndicatorType_Kind `json:"categoryType"`
  8. CategoryName string `json:"categoryName"`
  9. Unit string `json:"unit"`
  10. Zh string `json:"zh"`
  11. CreatedAt int64 `json:"createdAt"`
  12. UpdatedAt int64 `json:"updatedAt"`
  13. }
  14. func (IndicatorsDetails) TableName() string {
  15. return "indicators_details"
  16. }