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 578B

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