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

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

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

        }
        public OneToOneRel(BimId relatingObject)
        {
            RelatingObject = relatingObject;
        }
        public OneToOneRel(BimId relatingObject, BimId relatedObject)
        {
            RelatingObject = relatingObject;
            RelatedObject = relatedObject;
        }
        /// <summary>
        /// 关联对象
        /// </summary>
        public BimId RelatedObject { get; set; }   
    }
}
