event_body_score.go 560 B

12345678910111213141516171819
  1. package model
  2. type EventBodyScore struct {
  3. Id int64 `json:"id"`
  4. CowId int64 `json:"cow_id"`
  5. Score int32 `json:"score"`
  6. Lact int32 `json:"lact"`
  7. DayAge int32 `json:"day_age"`
  8. ScoreAt int64 `json:"score_at"`
  9. Remarks string `json:"remarks"`
  10. StaffMemberId int64 `json:"staff_member_id"`
  11. OperationId int64 `json:"operation_id"`
  12. CreatedAt int64 `json:"created_at"`
  13. UpdatedAt int64 `json:"updated_at"`
  14. }
  15. func (e *EventBodyScore) TableName() string {
  16. return "event_body_score"
  17. }