Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package model
- type Transaction struct {
- Message string `json:"message"`
- Data BillDetail `json:"data"`
- }
- type AllTransaction struct {
- Message string `json:"message"`
- Data []BillDetail `json:"data"`
- }
- type BillDetails struct {
- Id string `json:"id"`
- BillId string `json:"billid"`
- ProductId string `json:"productid"`
- ProductPrice int `json:"productprice"`
- Qty int `json:"qty"`
- }
- type BillDetail struct {
- Id string `json:"id"`
- BillDate string `json:"billdate"`
- EntryDate string `json:"entrydate"`
- FinishDate string `json:"finishdate"`
- EmployeeId string `json:"employeeid"`
- CustomerId string `json:"customerid"`
- BillDetails []BillDetails `json:"billdetails"`
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement