UserAddress.cs 545 B

1234567891011121314151617181920
  1. using MTWorkHR.Core.Entities.Base;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace MTWorkHR.Infrastructure.Entities
  5. {
  6. public class UserAddress : AuditEntity
  7. {
  8. public string UserId { get; set; }
  9. [ForeignKey("UserId")]
  10. public ApplicationUser User { get; set; }
  11. public int? CountryId { get; set; }
  12. public string? City{ get; set; }
  13. public string? PostalCode { get; set; }
  14. public string? AddressDesc{ get; set; }
  15. }
  16. }