/*-------------------------------------------------------------------------
 * 功能描述：OneToManyRel
 * 作者：xulisong
 * 创建时间： 2019/6/17 10:49:50
 * 版本号：v1.0
 *  -------------------------------------------------------------------------*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JBIM.Relationship
{
    public class OneToManyRel:RelationshipBase
    {
        public OneToManyRel()
        {

        }
        public OneToManyRel(BimId relatingObject)
        {
            RelatingObject = relatingObject;
        }
        public OneToManyRel(BimId relatingObject, List<BimId> relatedObjects)
        {
            RelatingObject = relatingObject;
            RelatedObjects = relatedObjects;
        }
        /// <summary>
        /// 关联对象
        /// </summary>
        public List<BimId> RelatedObjects { get; set; }
   
    }
}
