using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LogisticsDAL.DTO.Route { public class RouteDetailDTO { #region PrivateMembers #region RouteDetail private int routedetailid; //Id private int routeid = -1; private Int16 routedetailslno; //SlNo #region City private int cityid = -1; //Id private string citycode; //Code private string cityname; //Name #endregion #region Location private int locationid = -1; //Id private string locationcode; //Code private string locationname; //Name #endregion private double routedetaildistance; //Distance private Int16 routedetailduration; //Duration private byte routedetailstoptype; //StopType private Int16 routedetailstopduration; //StopDuration private string routedetailremarks = ""; //Remarks #endregion #endregion #region PublicMembers #region RouteDetail public int RouteDetailId { get { return routedetailid; } //Id set { routedetailid = value; } //Id } public int RouteId { get { return routeid; } //RouteId set { routeid = value; } //RouteId } public Int16 RouteDetailSlNo { get { return routedetailslno; } //SlNo set { routedetailslno = value; } //SlNo } #region City public int CityId { get { return cityid; } //Id set { cityid = value; } //Id } public string CityCode { get { return citycode; } //Code set { citycode = value; } //Code } public string CityName { get { return cityname; } //Name set { cityname = value; } //Name } #endregion #region Location public int LocationId { get { return locationid; } //Id set { locationid = value; } //Id } public string LocationCode { get { return locationcode; } //Code set { locationcode = value; } //Code } public string LocationName { get { return locationname; } //Name set { locationname = value; } //Name } #endregion public double RouteDetailDistance { get { return routedetaildistance; } //Distance set { routedetaildistance = value; } //Distance } public Int16 RouteDetailDuration { get { return routedetailduration; } //Duration set { routedetailduration = value; } //Duration } public byte RouteDetailStopType { get { return routedetailstoptype; } //StopType set { routedetailstoptype = value; } //StopType } public Int16 RouteDetailStopDuration { get { return routedetailstopduration; } //StopDuration set { routedetailstopduration = value; } //StopDuration } public string RouteDetailRemarks { get { return routedetailremarks; } //Remarks set { routedetailremarks = value; } //Remarks } #endregion #endregion } }