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

namespace boilerplate.Models
{
    public class UserModel
    {
        public AuthModel Auth { get; set; }
        public int Id { get; set; }
        public string Name { get; set; }
        public string Family { get; set; }
        public string Image { get; set; }
        public string Phone { get; set; }
        public string Password { get; set; }
        public string NationalCode { get; set; }
        public int Status { get; set; }
        public string Role { get; set; }
        public string Access { get; set; }
        public int? Code { get; set; }
        public string CreatedDate { get; set; }
        public string LoginDate { get; set; }
    }

    public class LoginModel
    {
        public string Username { get; set; }
        public string Password { get; set; }
        public int Code { get; set; }

        public int Id { get; set; }
        public string Phone { get; set; }
        public string Token { get; set; }
        public string Type { get; set; }
    }
    public class ProvinceModel
    {
        public int id { get; set; }
        public string name { get; set; }
        public string slug { get; set; }
        public string tel_prefix { get; set; }
    }

    public class CityModel
    {
        public int id { get; set; }
        public string name { get; set; }
        public string slug { get; set; }
        public int province_id { get; set; }
    }
    public class CheckCodeModel
    {
        public string Phone { get; set; }
        public string Code { get; set; }
    }
    public class logModel
    {
        public int Id { get; set; }
        public string Message { get; set; }
        public string Date { get; set; }
        public string Type { get; set; }
    }

    public class PhoneModel
    {
        public string Phone { get; set; }
    }

    public class AuthModel
    {
        public int Id { get; set; }
        public int UserId { get; set; }
        public string Token { get; set; }
        public string Meta { get; set; }
        public string EventDate { get; set; }
    }

    public class UserAccessModel
    {
        public int Id { get; set; }
        public string Role { get; set; }
        public string Access { get; set; }
    }
}