using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Shride.Models
{
  public class Account
  {
    public Account() { }

    public int AccountId { get; set; }

    [Required(ErrorMessage = "Please enter name.")]
    public string Name { get; set; }

    public string Email { get; set; }

    public string Phone { get; set; }

    public bool Private { get; set; }

    public List<Person> Persons { get; set; }

    public List<Vehicle> Vehicles { get; set; }

    public List<Event> Events { get; set; }
  }
}