API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Agent.cs 548B

1234567891011121314151617181920212223
  1. using System.Collections.Generic;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace UnivateProperties_API.Model.Users
  4. {
  5. public class Agent : Person
  6. {
  7. #region Constructor
  8. public Agent()
  9. {
  10. }
  11. #endregion Constructor
  12. #region Properties
  13. [ForeignKey("Agency")]
  14. public int? AgencyId { get; set; }
  15. public virtual Agency Agency { get; set; }
  16. public virtual ICollection<Property.Property> Properties { get; set; }
  17. #endregion Properties
  18. }
  19. }