using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Web.Models
{

    public enum EnumChanges
    {
        NoChange,
        Update,
        Create,
        Delete
    }

    public class RootDirInfo
    {
        public int ID { set; get; }
        public string Name { set; get; }

    }

    public class GroupInfo
    {
        public int ID { set; get; }
        public string Name { set; get; }
        public bool EnterInGroup { set; get; }
    }

    public class EditUserModel
    {
        public int ID { set; get; }
        public string Name { set; get; }
        public string Password { set; get; }
        public bool Active { set; get; }
        public EnumChanges Changes { set; get; }

        public List<GroupInfo> Groups { set; get; } = new List<GroupInfo>();
    }
}