API
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

Agent.cs 468B

123456789101112131415161718192021
  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. #endregion Properties
  17. }
  18. }