246 lines
6.1 KiB
C#
246 lines
6.1 KiB
C#
namespace VECV_WebApi.Models.User
|
|
{
|
|
#region Namspaces
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
#endregion
|
|
|
|
|
|
#region Model Classes
|
|
public class LogOnModel
|
|
{
|
|
public string token { get; set; }
|
|
public string UserName { get; set; }
|
|
|
|
|
|
public string Password { get; set; }
|
|
|
|
public long userId { get; set; }
|
|
|
|
public string role { get; set; }
|
|
|
|
public string Message { get; set; }
|
|
|
|
public string Status { get; set; }
|
|
public bool isValid { get; set; }
|
|
public string Designation { get; set; }
|
|
public string ProductVariant { get; set; }
|
|
|
|
public string Organization { get; set; }
|
|
public string Name { get; set; }
|
|
}
|
|
/// <summary>
|
|
/// This class contain user details
|
|
/// </summary>
|
|
public class UserModel
|
|
{
|
|
/// <summary>
|
|
/// Get or set User Id
|
|
/// </summary>
|
|
public Int64 UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Authorization Engine Id
|
|
/// </summary>
|
|
public string AuthEngineId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set User Name
|
|
/// </summary>
|
|
public string UserName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set User Designation
|
|
/// </summary>
|
|
public string Designation { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Object Id
|
|
/// </summary>
|
|
public string ObjectId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Id
|
|
/// </summary>
|
|
public int OrganizationId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set City
|
|
/// </summary>
|
|
public string City { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set State
|
|
/// </summary>
|
|
public string State { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Region
|
|
/// </summary>
|
|
public string Region { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Language
|
|
/// </summary>
|
|
public string Language { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Time Zone Id
|
|
/// </summary>
|
|
public Int64 TimeZoneId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Display Name
|
|
/// </summary>
|
|
public string DisplayName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Offset In Minutes
|
|
/// </summary>
|
|
public double? OffsetInMinute { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Display Id
|
|
/// </summary>
|
|
public string DisplayId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Name
|
|
/// </summary>
|
|
public string OrganizationName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Alias
|
|
/// </summary>
|
|
public string OrganizationAlias { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization City
|
|
/// </summary>
|
|
public string OrganizationCity { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization State
|
|
/// </summary>
|
|
public string OrganizationState { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Country
|
|
/// </summary>
|
|
public string OrganizationCountry { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Description
|
|
/// </summary>
|
|
public string OrganizationDescription { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Path
|
|
/// </summary>
|
|
public string OrganizationPath { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Depth
|
|
/// </summary>
|
|
public string OrganizationDepth { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Color
|
|
/// </summary>
|
|
public string OrganizationColor { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Region
|
|
/// </summary>
|
|
public string OrganizationRegion { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or Set Status
|
|
/// </summary>
|
|
public string Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Message
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or Set Token
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Vehicle Tagging
|
|
/// </summary>
|
|
public string VehicleTagging { get; set; }
|
|
|
|
public string FirstName { get; set; }
|
|
|
|
public string LastName { get; set; }
|
|
public Boolean? IsDeleted { get; set; }
|
|
public string StateId { get; set; }
|
|
public string CityId { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// This class contain dealer properties
|
|
/// </summary>
|
|
public class DealerModel
|
|
{
|
|
/// <summary>
|
|
/// Get or set User Id
|
|
/// </summary>
|
|
public string UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Token
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Message
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Dealer Id
|
|
/// </summary>
|
|
public string DealerId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Organization Id
|
|
/// </summary>
|
|
public int? OrganizationId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Dealer Name
|
|
/// </summary>
|
|
public string DealerName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Dealer City
|
|
/// </summary>
|
|
public string DealerCity { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Dealer State
|
|
/// </summary>
|
|
public string DealerState { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Dealer Default Latitude
|
|
/// </summary>
|
|
public string DealerDefaultLatitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Dealer Default Longitude
|
|
/// </summary>
|
|
public string DealerDefaultLongitude { get; set; }
|
|
}
|
|
|
|
#endregion
|
|
} |