No Description

ProfileModel.swift 651B

12345678910111213141516171819202122232425
  1. //
  2. // ProfileModel.swift
  3. // Comedores Sociales
  4. //
  5. // Created by Hector Carrion on 12/16/20.
  6. //
  7. import Foundation
  8. struct Profile {
  9. var name: String
  10. var email: String
  11. var phone: String
  12. var membership: String
  13. var membershipStatus = membership.undetermined
  14. var hoursWorked: Int = 0
  15. static let `default` = Profile(name: "Comedores Sociales", email: "user@comedores.com", phone: "787-555-5555", membership: "Loading...", membershipStatus: membership.undetermined, hoursWorked: 0)
  16. enum membership: String {
  17. case valid = "Valid"
  18. case expired = "Expired"
  19. case undetermined = "Unknown"
  20. }
  21. }