//.################################################
//# Copyright © 2006-2010 Evolving Software Ltd   #
//# Author: Vijay Patel                           #
//################################################'

using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;

using Evolving.DomainTypes;
using Evolving.TrueView.Domain.Attributes;
using System.Diagnostics;

namespace TestApplicationDomainModel.Objects
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class MasterObject
    {
        public Guid ID { get; internal set; }

        public MasterObject()
        {
            this.Children = new List<DetailObject>();
        }

        public string Name { get; set; }

        public List<DetailObject> Children { get; private set; }

        public override string ToString()
        {
            return this.Name;
        }

    }
}
