event_sale.go 848 B

1234567891011121314151617181920212223242526
  1. package model
  2. type EventSale struct {
  3. Id int64 `json:"id"`
  4. PastureId int64 `json:"pastureId"`
  5. DealerId int32 `json:"dealerId"`
  6. DealerName string `json:"dealerName"`
  7. VehicleId int32 `json:"vehicleId"`
  8. SalePrice int32 `json:"salePrice"`
  9. SaleAllWeight int32 `json:"saleAllWeight"`
  10. SaleAllAmount int32 `json:"saleAllAmount"`
  11. SaleCowCount int32 `json:"saleCowCount"`
  12. CowIds string `json:"cowIds"`
  13. SaleAt int64 `json:"saleAt"`
  14. Remarks string `json:"remarks"`
  15. OperationId int32 `json:"operationId"`
  16. OperationName string `json:"operationName"`
  17. MessageId int64 `json:"messageId"`
  18. MessageName string `json:"messageName"`
  19. CreatedAt int64 `json:"createdAt"`
  20. UpdatedAt int64 `json:"updatedAt"`
  21. }
  22. func (e *EventSale) TableName() string {
  23. return "event_sale"
  24. }