using Entity.Sugar; using Entity.ViewModels; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entity.ShowEasyDtos { public class ONSiteBaseInfoDTO { public string ServiceID { get; set; } //服務編號 public string ServiceNo { get; set; } //服務名稱 public string ServiceName { get; set; } //費用説明 public string ExpenseDescription { get; set; } //常見問題 public List FQAs { get; set; } //適用展會 public string ExhibitionNames { get; set; } //訂單確認工作天 public string ConfirmDays { get; set; } //服務適用地 public string SuitPlaces { get; set; } //服務領取地 public string ReceivinPlaces { get; set; } //適用展會ID public string ExhibitionID { get; set; } //服務特色 (服務名稱下方的) public string Features { get; set; } //服務説明 public string Details { get; set; } //取消政策 public string CancelPolicy { get; set; } public int? MinPrice { get; set; } public string CurrencyID { get; set; } //public string SupplierID { get; set; } //public string CurrencyID { get; set; } //public DateTime? LaunchDateS { get; set; } //public DateTime? LaunchDateE { get; set; } //public string PayType { get; set; } //public string CMode { get; set; } //public string SuitPlace { get; set; } //public string CancelPolicy { get; set; } //public string OrderMemo { get; set; } //public string SubCategoryID { get; set; } //public string ExhibitionID { get; set; } //public string OrderQuestions { get; set; } } public class ONSiteBaseListDTO { public string ServiceID { get; set; } //服務編號 public string ServiceNo { get; set; } //服務名稱 public string ServiceName { get; set; } //圖片 public string PreviewFile { get; set; } public int? MinPrice { get; set; } //適用地區 public string PlaceName { get; set; } //服務類別名稱 public string ServiceCategoryName { get; set; } public string LangID { get; set; } public string CurrencyID { get; set; } } public class FQADTO { public string Question { get; set; } public string Answer { get; set; } } public class ServiceCategoryDTO { /// /// /// public string CategoryID { get; set; } /// /// /// public string CategoryName { get; set; } /// /// /// [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public List SubCategoryList = new List(); [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public Dictionary SubCategoryDic = new Dictionary(); } public class ServiceRegionDTO { /// /// /// public string RegionID { get; set; } /// /// /// public string RegionName { get; set; } [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public List CountryList = new List(); [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public Dictionary CountryDic = new Dictionary(); } public class ServiceCountryDTO { /// /// /// public string CountryID { get; set; } /// /// /// public string CountryName { get; set; } [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public List CityList = new List(); [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public Dictionary CityDic = new Dictionary(); } public class ONSiteItemDTO { /// /// /// public string Guid { get; set; } public string ItemType { get; set; } public string ItemName { get; set; } //文字説明(非堆高機,非卡車) public string CostRuleText { get; set; } public string ExpensesMemo { get; set; } public string EscortFreeCityID { get; set; } public DateTime? CreateDate { get; set; } //堆高機費用規則 [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public List StackerCostRules = new List(); //卡車費用規則 [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public List TruckCostRules = new List(); //卡車假日加班費 [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public List TruckHolidayPay = new List(); //卡車車型加價 [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public List TruckMarkupByModel = new List(); //卡車押車費用規則 [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public List TruckEscortCostRules = new List(); //非卡車,堆高機費用規則 [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public List OtherCostRules = new List(); } //堆高機費用規則 public class ServiceCostRulesDTO { public int Index { get; set; } public string Guid { get; set; } public string Weight_Min { get; set; } public string Weight_Max { get; set; } public int? Price { get; set; } public string PricingMode { get; set; } public string Memo { get; set; } public DateTime? CreateDate { get; set; } } //卡車費用規則 public class ServiceTruckCostRulesDTO { public string TruckID { get; set; } public string CityID { get; set; } public int? Price { get; set; } } //卡車假日加班費 卡車車型加價 public class ServiceTruckOtherCostDTO { public string TruckID { get; set; } public int? Price { get; set; } } //非卡車,堆高機費用規則 public class ONSiteOtherCostRulesDTO { public string Guid { get; set; } public string PricingMode { get; set; } public int? Price { get; set; } public int? InterbankPrice { get; set; } public string Unit_Min { get; set; } } public class OrderQuestionDTO { public string ServiceID { get; set; } public int QuestionID { get; set; } //1:必填 0:非必填 public string RequiredFlag { get; set; } public string LangID { get; set; } public string SurveyName { get; set; } public string AnswerType { get; set; } public string Answer { get; set; } } public class BookingOrderDTO { public string LangType { get; set; } public string ExhibitionID { get; set; } public string CurrencyID { get; set; } public string PayType { get; set; } public string ServiceID { get; set; } public string TotalPrice { get; set; } public List BookingItem { get; set; } public List OrderQuestion { get; set; } public string ServiceDateS { get; set; } public string ServiceDateE { get; set; } } }