using System.ComponentModel.DataAnnotations.Schema;

namespace UnivateProperties_API.Model.Property
{
    public class UserDefinedField : BaseEntity
    {
        #region Properties 
        [ForeignKey("Group")]
        public int GroupId { get; set; }
        public string FieldName { get; set; }
        public string FieldType { get; set; }        
        public int Rank { get; set; }

        public virtual UserDefinedGroup Group { get; set; }
        #endregion 
    }
}