You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
281 lines
8.1 KiB
281 lines
8.1 KiB
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<FQADTO> 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
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string CategoryID { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string CategoryName { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public List<ServiceCategoryDTO> SubCategoryList = new List<ServiceCategoryDTO>();
|
|
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public Dictionary<string, ServiceCategoryDTO> SubCategoryDic = new Dictionary<string, ServiceCategoryDTO>();
|
|
|
|
|
|
}
|
|
|
|
public class ServiceRegionDTO
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string RegionID { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string RegionName { get; set; }
|
|
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public List<ServiceCountryDTO> CountryList = new List<ServiceCountryDTO>();
|
|
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public Dictionary<string, ServiceCountryDTO> CountryDic = new Dictionary<string, ServiceCountryDTO>();
|
|
|
|
}
|
|
|
|
|
|
public class ServiceCountryDTO
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string CountryID { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string CountryName { get; set; }
|
|
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public List<CityDTO> CityList = new List<CityDTO>();
|
|
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public Dictionary<string, CityDTO> CityDic = new Dictionary<string, CityDTO>();
|
|
|
|
}
|
|
|
|
|
|
public class ONSiteItemDTO
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
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<ServiceCostRulesDTO> StackerCostRules = new List<ServiceCostRulesDTO>();
|
|
//卡車費用規則
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public List<ServiceTruckCostRulesDTO> TruckCostRules = new List<ServiceTruckCostRulesDTO>();
|
|
//卡車假日加班費
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public List<ServiceTruckOtherCostDTO> TruckHolidayPay = new List<ServiceTruckOtherCostDTO>();
|
|
//卡車車型加價
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public List<ServiceTruckOtherCostDTO> TruckMarkupByModel = new List<ServiceTruckOtherCostDTO>();
|
|
|
|
//卡車押車費用規則
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public List<ServiceTruckCostRulesDTO> TruckEscortCostRules = new List<ServiceTruckCostRulesDTO>();
|
|
|
|
//非卡車,堆高機費用規則
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public List<ONSiteOtherCostRulesDTO> OtherCostRules = new List<ONSiteOtherCostRulesDTO>();
|
|
|
|
}
|
|
|
|
//堆高機費用規則
|
|
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<string> BookingItem { get; set; }
|
|
public List<string> OrderQuestion { get; set; }
|
|
|
|
public string ServiceDateS { get; set; }
|
|
public string ServiceDateE { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|