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

namespace Ewide.Application
{
    public class HouseCompanyInfoOutput
    {
        public string Name { get; set; }
        public string Value { get; set; }
    }

    public class HouseCompanyDetailOutput
    {
        public string Id { get; set; }
        public string Name { get; set; }
        private string _Type { get; set; }
        public string Type
        {
            get
            {
                return _Type;
            }
            set
            {
                _Type = String.Join(",", value.Split(',').Select(p => p.Replace("[", "").Replace("]", "")));
            }
        }
        public List<HouseCompanyInfoOutput> Info { get; set; }
    }
}
