﻿using System.Collections.Generic;

namespace AdminClient
{
    internal class Process
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public List<Category> category { get; set; }
       

        public override string ToString()
        {
            var ret = this.Name + " ~ ";
            foreach(var cat in category)
            {
                ret += cat.Name + ", ";
            }
            return ret.Substring(0, ret.Length-2);
        }
    }
}