kreangkrai

structStaff

Mar 19th, 2019
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.45 KB | None | 0 0
  1. type Staffs []Staff
  2. type Staff struct {
  3.     StaffID    int    `json:"staff_id"`
  4.     FirstName  string `json:"first_name"`
  5.     LastName   string `json:"last_name"`
  6.     AddressID  int    `json:"address_id"`
  7.     Email      string `json:"email"`
  8.     StoreID    int    `json:"store_id"`
  9.     Active     bool   `json:"active"`
  10.     Username   string `json:"username"`
  11.     Password   string `json:"password"`
  12.     LastUpdate string `json:"last_update"`
  13.     Picture    string `json:"picture"`
  14. }
Advertisement
Add Comment
Please, Sign In to add comment