AddressModel.cs 584 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace friaLabbar.Models
  7. {
  8. public class AddressModel
  9. {
  10. public int AddressId { get; set; }
  11. public string StreetAddress { get; set; }
  12. public string City { get; set; }
  13. public string State { get; set; }
  14. public string ZipCode { get; set; }
  15. public string FullAddress
  16. {
  17. get
  18. {
  19. return $"{StreetAddress}, {City}, {State}, {ZipCode}";
  20. }
  21. }
  22. }
  23. }