using System; using System.Collections.Generic; using System.Linq; using System.Web; using Domain; namespace WebSite.Models { public class CurtainModel { public CurtainOpenCloseModel CurtainOpen { get; set; } public CurtainOpenCloseModel CurtainClose { get; set; } } public class CurtainOpenCloseModel { public string Name { get; set; } public string Address { get; set; } public DeviceSubtype Subtype { get; set; } public int Status { get; set; } } }