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.

PropertyUserField.cs 604B

12345678910111213141516171819
  1. using System.ComponentModel.DataAnnotations.Schema;
  2. namespace UnivateProperties_API.Model.Properties
  3. {
  4. public class PropertyUserField : BaseEntity
  5. {
  6. #region Properties
  7. [ForeignKey("Property")]
  8. public int PropertyId { get; set; }
  9. [ForeignKey("UserDefinedField")]
  10. public int UserDefinedFieldId { get; set; }
  11. public string Value { get; set; }
  12. public string Description { get; set; }
  13. public virtual Property Property { get; set; }
  14. public virtual UserDefinedField UserDefinedField { get; set; }
  15. #endregion
  16. }
  17. }