API
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }