using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LogisticsDAL.DTO.Trip { public class TripDetailDTO { #region PrivateMembers #region TripDetail private int tripdetailid = -1; //Id private DateTime tripdetailtripstarton = DateTime.Now; //TripStartOn private DateTime tripdetailtripendon = DateTime.Now; //TripEndOn private byte tripdetailtripstatus = 0; //TripStatus private string tripdetailvialocationids = ""; //ViaLocationIds private string tripdetailremarks = ""; //Remarks private int tripdetailstartmeter = 0; //StartMeter private int tripdetailendmeter = 0; //EndMeter private int tripdetailrundistance = 0; //RunDistance private Int16 tripdetailfromtime = 0; //FromTime private Int16 tripdetailtotime = 0; //ToTime private string tripdetailvialocallocationids = ""; //ViaLocalLocationIds private double tripdetailunloadingamount = 0; //UnloadingAmount private DateTime tripdetailplanstartdate = DateTime.Now; //PlanStartDate private Int16 tripdetailplanstarttime = 0; //PlanStartTime private DateTime tripdetailvehiclereacheddate = DateTime.Now; //VehicleReachedDate private Int16 tripdetailvehiclereachedtime = 0; //VehicleReachedTime private DateTime tripdetailetadate = DateTime.Now; //ETADate private Int16 tripdetailetatime = 0; //ETATime private Int16 tripdetailexpectedduration = 0; //ExpectedDuration private double tripdetailloadingamount = 0; //LoadingAmount private int manifestid = -1; private string manifestnumber; private int vehicleid = -1; private string vehiclecode; private string vehiclename; private int driverid = -1; private string drivercode; private string drivername; private int tripid = -1; private string tripcode; private string tripname; private int fromlocallocationid = -1; private string fromlocallocationcode; private string fromlocallocationname; private int tolocallocationid = -1; private string tolocallocationcode; private string tolocallocationname; private int startlocationid = -1; private string startlocationcode; private string startlocationname; private int endlocationid = -1; private string endlocationcode; private string endlocationname; #endregion #endregion #region PublicMembers #region TripDetail public int TripDetailId { get { return tripdetailid; } //Id set { tripdetailid = value; } //Id } public DateTime TripDetailTripStartOn { get { return tripdetailtripstarton; } //TripStartOn set { tripdetailtripstarton = value; } //TripStartOn } public DateTime TripDetailTripEndOn { get { return tripdetailtripendon; } //TripEndOn set { tripdetailtripendon = value; } //TripEndOn } public byte TripDetailTripStatus { get { return tripdetailtripstatus; } //TripStatus set { tripdetailtripstatus = value; } //TripStatus } public string TripDetailViaLocationIds { get { return tripdetailvialocationids; } //ViaLocationIds set { tripdetailvialocationids = value; } //ViaLocationIds } public string TripDetailRemarks { get { return tripdetailremarks; } //Remarks set { tripdetailremarks = value; } //Remarks } public int TripDetailStartMeter { get { return tripdetailstartmeter; } //StartMeter set { tripdetailstartmeter = value; } //StartMeter } public int TripDetailEndMeter { get { return tripdetailendmeter; } //EndMeter set { tripdetailendmeter = value; } //EndMeter } public int TripDetailRunDistance { get { return tripdetailrundistance; } //RunDistance set { tripdetailrundistance = value; } //RunDistance } public Int16 TripDetailFromTime { get { return tripdetailfromtime; } //FromTime set { tripdetailfromtime = value; } //FromTime } public Int16 TripDetailToTime { get { return tripdetailtotime; } //ToTime set { tripdetailtotime = value; } //ToTime } public string TripDetailViaLocalLocationIds { get { return tripdetailvialocallocationids; } //ViaLocalLocationIds set { tripdetailvialocallocationids = value; } //ViaLocalLocationIds } public double TripDetailUnloadingAmount { get { return tripdetailunloadingamount; } //UnloadingAmount set { tripdetailunloadingamount = value; } //UnloadingAmount } public DateTime TripDetailPlanStartDate { get { return tripdetailplanstartdate; } //PlanStartDate set { tripdetailplanstartdate = value; } //PlanStartDate } public Int16 TripDetailPlanStartTime { get { return tripdetailplanstarttime; } //PlanStartTime set { tripdetailplanstarttime = value; } //PlanStartTime } public DateTime TripDetailVehicleReachedDate { get { return tripdetailvehiclereacheddate; } //VehicleReachedDate set { tripdetailvehiclereacheddate = value; } //VehicleReachedDate } public Int16 TripDetailVehicleReachedTime { get { return tripdetailvehiclereachedtime; } //VehicleReachedTime set { tripdetailvehiclereachedtime = value; } //VehicleReachedTime } public DateTime TripDetailETADate { get { return tripdetailetadate; } //ETADate set { tripdetailetadate = value; } //ETADate } public Int16 TripDetailETATime { get { return tripdetailetatime; } //ETATime set { tripdetailetatime = value; } //ETATime } public Int16 TripDetailExpectedDuration { get { return tripdetailexpectedduration; } //ExpectedDuration set { tripdetailexpectedduration = value; } //ExpectedDuration } public double TripDetailLoadingAmount { get { return tripdetailloadingamount; } //LoadingAmount set { tripdetailloadingamount = value; } //LoadingAmount } public int ManifestId { get { return manifestid; } set { manifestid = value; } } public string ManifestNumber { get { return manifestnumber; } set { manifestnumber = value; } } public int VehicleId { get { return vehicleid; } set { vehicleid = value; } } public string VehicleCode { get { return vehiclecode; } set { vehiclecode = value; } } public string VehicleName { get { return vehiclename; } set { vehiclename = value; } } public int DriverId { get { return driverid; } set { driverid = value; } } public string DriverCode { get { return drivercode; } set { drivercode = value; } } public string DriverName { get { return drivername; } set { drivername = value; } } public int TripId { get { return tripid; } set { tripid = value; } } public string TripCode { get { return tripcode; } set { tripcode = value; } } public string TripName { get { return tripname; } set { tripname = value; } } public int FromLocalLocationId { get { return fromlocallocationid; } set { fromlocallocationid = value; } } public string FromLocalLocationCode { get { return fromlocallocationcode; } set { fromlocallocationcode = value; } } public string FromLocalLocationName { get { return fromlocallocationname; } set { fromlocallocationname = value; } } public int ToLocalLocationId { get { return tolocallocationid; } set { tolocallocationid = value; } } public string ToLocalLocationCode { get { return tolocallocationcode; } set { tolocallocationcode = value; } } public string ToLocalLocationName { get { return tolocallocationname; } set { tolocallocationname = value; } } public int StartLocationId { get { return startlocationid; } set { startlocationid = value; } } public string StartLocationCode { get { return startlocationcode; } set { startlocationcode = value; } } public string StartLocationName { get { return startlocationname; } set { startlocationname = value; } } public int EndLocationId { get { return endlocationid; } set { endlocationid = value; } } public string EndLocationCode { get { return endlocationcode; } set { endlocationcode = value; } } public string EndLocationName { get { return endlocationname; } set { endlocationname = value; } } #endregion #endregion #region private int tripdetailexpecteddistance; private Int16 tripdetailduration; public int TripDetailExpectedDistance { get { return tripdetailexpecteddistance; } //TripDetailExpectedDistance set { tripdetailexpecteddistance = value; } //TripDetailExpectedDistance } public Int16 TripDetailDuration { get { return tripdetailduration; } //TripDetailDuration set { tripdetailduration = value; } //TripDetailDuration } #endregion } }