﻿namespace Umbraco.Core.Models.Entities
{
    /// <summary>
    /// Represents the path of a tree entity.
    /// </summary>
    public class TreeEntityPath
    {
        /// <summary>
        /// Gets or sets the identifier of the entity.
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets the path of the entity.
        /// </summary>
        public string Path { get; set; }
    }
}

﻿namespace Umbraco.Core.Models.Entities
{
    /// <summary>
    /// Represents the path of a tree entity.
    /// </summary>
    public class TreeEntityPath
    {
        /// <summary>
        /// Gets or sets the identifier of the entity.
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets the path of the entity.
        /// </summary>
        public string Path { get; set; }

        /// <summary>
        /// Proxy of the Id
        /// </summary>
        public int NodeId
        {
            get => Id;
            set => Id = value;
        }
    }
}

Fix issue where Id was not set when loading all entity paths
Fix issue where Id was not set when loading all entity paths
