24 lines
843 B
Go
24 lines
843 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type User struct {
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DateOfBirth time.Time `json:"date_of_birth"`
|
|
Email string `json:"email"`
|
|
ProfilePicture string `json:"profile_picture"`
|
|
FirstName string `json:"first_name"`
|
|
Salt string `json:"-"`
|
|
LastName string `json:"last_name"`
|
|
Phone string `json:"phone"`
|
|
Status string `json:"status"`
|
|
Notes string `json:"notes"`
|
|
PaymentStatus string `json:"payment_status"`
|
|
Password string `json:"password"`
|
|
Address string `json:"address"`
|
|
ID int64 `json:"id"`
|
|
RoleID int8 `json:"role_id"`
|
|
DriversIDChecked bool `json:"drivers_id_checked"`
|
|
}
|