using System;
using System.Collections.Generic;

#nullable disable

namespace BO.AppServer.Data.Entity
{
    public partial class Structure
    {
        public Structure()
        {
            InverseParent = new HashSet<Structure>();
            Metadocuments = new HashSet<Metadocument>();
        }

        // public long Id { get; set; }
        public string Name { get; set; }
        public long WorkspaceId { get; set; }
        public long? ParentId { get; set; }
        public DateTime Created { get; set; }
        public DateTime? Modified { get; set; }
        public long CreatedByUserId { get; set; }
        public long? ModifiedByUserId { get; set; }

        public virtual Structure Parent { get; set; }
        public virtual Workspace Workspace { get; set; }
        public virtual ICollection<Structure> InverseParent { get; set; }
        public virtual ICollection<Metadocument> Metadocuments { get; set; }
    }
}
