event_sale.go 807 B

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