using WF_WebAdmin.Model;

namespace WF_WebAdmin.Converter
{
    public class UserDTO
    {
        public string Image { get; set; }
        public string Name { get; set; }
        public string Email { get; set; }
        public DateTime DateCreation { get; set; }

        public Boolean IsAdmin { get; set; }
        public List<Commentary> Comments { get; set; }

        public UserDTO(string image, string name, string email, DateTime dateCreation)
        {

            this.Image = image;
            this.Name = name;
            this.Email = email;
            this.DateCreation = dateCreation;
        }
    }
}
