namespace VECV_WebApi.Models.ServiceEngineer
{
#region Namespaces
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
#endregion
#region Model Classes
///
/// This class contain service engineer registration request model
///
public class ServiceEngineerRegistrationRequestModel
{
///
/// Get or set registration Number
///
public string RegistrationNo { get; set; }
///
/// Get or set token
///
public string Token { get; set; }
///
/// Get or set device alias
///
public Int64? DeviceAlias { get; set; }
///
/// Get or set device pin
///
public string DevicePin { get; set; }
///
/// Get or set imei no
///
public string Imei { get; set; }
///
/// get or set device GCm id
///
public string DeviceGcmId { get; set; }
// get or set device GCm id
///
public string DeviceId { get; set; }
public string MobileInfo { get; set; }
public string AppVersion { get; set; }
public string licenseNumber { get; set; }
///
/// get or set device PushNotificationBit
///
public int? PushNotificationBit { get; set; }
}
///
/// This class contain service engineer registration response model
///
public class ServiceEngineerRegistrationResponseModel
{
///
/// Get or set token
///
public string Token { get; set; }
///
/// Get or set device alias
///
public Int64? DeviceAlias { get; set; }
///
/// Get or set Message
///
public string Massage { get; set; }
///
/// Get or set Status
///
public string Status { get; set; }
}
///
/// This class contain service engineer registration response model
///
public class ServiceEngineerRegistrationConfirmationResponseModel
{
///
/// Get or set token
///
public string Name { get; set; }
///
/// Get or set device alias
///
public string ContactNumber { get; set; }
///
/// Get or set Message
///
public string DealerCode { get; set; }
///
/// Get or set Status
///
public string DealerName { get; set; }
public string State { get; set; }
public string City { get; set; }
public string LicenseKey { get; set; }
///
/// Get or set token
///
public string Token { get; set; }
///
/// Get or set Message
///
public string Massage { get; set; }
///
/// Get or set Status
///
public string Status { get; set; }
}
///
/// This class contain service engineer registration response model
///
public class RegistrationResponseModel
{
///
/// Get or set token
///
public string Token { get; set; }
///
/// Get or set device alias
///
public string DeviceAlias { get; set; }
///
/// Get or set Message
///
public string Massage { get; set; }
///
/// Get or set Status
///
public string Status { get; set; }
public string UserId { get; set; }
public string UserName { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Contact1 { get; set; }
public string Contact2 { get; set; }
public string Address { get; set; }
public string Email { get; set; }
public string UserType { get; set; }
public string IsPasswordExist { get; set; }
public string OTP { get; set; }
}
///
/// contains properties for Van-Details
///
public class VanModel
{
private string _van_start_working_hours = "";
private string _van_end_working_hours = "";
///
/// Get or Set dealer id
///
public string DealerId { get; set; }
///
/// Get or Set deale rorganization id
///
public Int32? DealerOrganizationId { get; set; }
///
/// Get or Set dealer name
///
public string DealerDealerName { get; set; }
///
/// Get or Set dealer city
///
public string DealerCity { get; set; }
///
/// Get or Set dealer state
///
public string DealerState { get; set; }
///
/// Get or Set latitude
///
public string DealerDealerDefaultLattitude { get; set; }
///
/// Get or Set longitude
///
public string DealerDealerDefaultLongitude { get; set; }
///
/// Get or Set van id
///
public string VanId { get; set; }
///
/// Get or Set van alias
///
public string VanAlias { get; set; }
///
/// Get or Set van latitude
///
public string VanVanDefaultLattitude { get; set; }
///
/// Get or Set van longitude
///
public string VanVanDefaultLongitude { get; set; }
///
/// Get or Set van city
///
public string VanCity { get; set; }
///
/// Get or Set van state
///
public string VanState { get; set; }
///
/// Get or Set van model
///
public string VanVanModel { get; set; }
///
/// Get or Set van registration number
///
public string VanRegistrationNumber { get; set; }
///
/// Get or Set van registered as
///
public string VanVanRegisteredAs { get; set; }
///
/// Get or Set organization name
///
public string OrganizationName { get; set; }
///
/// Get or Set organization alias
///
public string OrganizationOrganizationAlias { get; set; }
///
/// Get or Set organization city
///
public string OrganizationOrganizationCity { get; set; }
///
/// Get or Set organization state
///
public string OrganizationOrganizationState { get; set; }
///
/// Get or Set organization country
///
public string OrganizationOrganizationCountry { get; set; }
///
/// Get or Set organization description
///
public string OrganizationOrganizationDescription { get; set; }
///
/// Get or Set organization path
///
public string OrganizationOrganizationPath { get; set; }
///
/// Get or Set organization depth
///
public string OrganizationOrganizationDepth { get; set; }
///
/// Get or Set organization color
///
public string OrganizationOrganizationColor { get; set; }
///
/// Get or Set organization region
///
public string OrganizationOrganizationRegion { get; set; }
///
/// Get or Set service engineer id
///
public string ServiceEngineerId { get; set; }
///
/// Get or Set service engineer name
///
public string ServiceEngineerName { get; set; }
///
/// Get or Set service engineer alias
///
public string ServiceEngineerAlias { get; set; }
///
/// Get or Set service engineer IMEI number
///
public string ServiceEngineerImeiNumber { get; set; }
///
/// Get or Set service engineer contact number
///
public string ServiceEngineerContactNumber { get; set; }
///
/// Get or Set service engineer app license key
///
public string ServiceEngineerApplicationLicenseKey { get; set; }
///
/// Get or Set service engineer mobile application blocked
///
public Boolean? ServiceEngineerMobileApplicationBlocked { get; set; }
///
/// Get or Set service engineer device alias
///
public Int64? ServiceEngineerDeviceAlias { get; set; }
///
/// Get or Set service engineer PIN password
///
public string ServiceEngineerPinPassword { get; set; }
///
/// Get or Set service engineer van id
///
public string ServiceEngineerVanVanId { get; set; }
///
/// Get or Set service engineer van id
///
public string ServiceEngineerVanServiceEngineerId { get; set; }
///
/// Get or set battery status
///
public string BatteryStatus { get; set; }
///
/// Get or Set GPS status
///
public string GpsStatus { get; set; }
///
/// Get or Set Is charging
///
public string IsCharging { get; set; }
///
/// Get or Set Is connected
///
public bool IsConnected { get; set; }
///
/// Get or Set security token
///
public string Token { get; set; }
///
/// Get or Set status
///
public string Status { get; set; }
///
/// Get or Set message
///
public string Message { get; set; }
///
/// Get or set user id
///
public Int64 UserId { get; set; }
///
/// Get or Set utc minute
///
public int UtcMinute { get; set; }
///
/// Get or Set dealer name
///
public string DealerNameParam { get; set; }
///
/// Get or Set van city
///
public string VanCityParam { get; set; }
///
/// Get or Set van state
///
public string VanStateParam { get; set; }
///
/// Get or Set dealer city
///
public string DealerCityParam { get; set; }
///
/// Get or Set dealer state
///
public string DealerStateParam { get; set; }
public string current_latitude { get; set; }
public string current_longitude { get; set; }
public string van_start_working_hours { get { return _van_start_working_hours; } set { _van_start_working_hours = value; } }
public string van_end_working_hours { get { return _van_end_working_hours; } set { _van_end_working_hours = value; } }
public string van_working_hours
{
get
{
return _van_start_working_hours + " to " + _van_end_working_hours;
}
}
public string emails { get; set; }
public string fuel_type { get; set; }
public string mobile_number { get; set; }
}
///
/// This class contain service engineer registration response model
///
public class MechanicServiceEngineerLoginResponseModel
{
///
/// Get or set token
///
public string Name { get; set; }
///
/// Get or set device alias
///
public string ContactNumber { get; set; }
///
/// Get or set Message
///
public string DealerCode { get; set; }
///
/// Get or set Status
///
public string DealerName { get; set; }
public string State { get; set; }
public string City { get; set; }
public string LicenseKey { get; set; }
///
/// Get or set token
///
public string Token { get; set; }
///
/// Get or set Message
///
public string Massage { get; set; }
///
/// Get or set Status
///
public string Status { get; set; }
///
/// Get or set device alias
///
public string DeviceAlias { get; set; }
///
/// Get or set IMEI Number
///
public string IMEINumber { get; set; }
}
///
/// This class contain service engineer registration request model for mechanic app
///
public class MechanicServiceEngineerLoginRequestModel
{
///
/// Get or set userName (to Test git commits)
///
public string userName { get; set; }
}
#endregion
}