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.
 
 
 
 
 

342 lines
10 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 CurrencyName { get; set; }
//供應商名稱
public string SupplierName { get; set; }
//供應商Logo
public string SupplierLogo { get; set; }
//服務封面圖片
public string PreviewFile { 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 string CurrencyName { 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; }
public int? ItemOrderByValue { get; set; }
//優惠方案:1:勾選
public string PreferentialScheme { get; set; }
//攤位數
public int? BoothNo { get; set; }
//噸數
public int? TonNo { get; set; }
//貨品件數
public int? ItemNo { 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 int? OrderByValue { 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 string SubTotal { get; set; }
public List<string> BookingItem { get; set; }
public List<string> OrderQuestion { get; set; }
public string ServiceDateS { get; set; }
public string ServiceDateE { get; set; }
//訂購人信息
//名字
public string FirstName { get; set; }
//姓氏
public string LastName { get; set; }
//郵箱
public string Email { get; set; }
//國家
public string CountryID { get; set; }
//電話
public string Phone { get; set; }
//電話國碼
public string PhoneCode { get; set; }
//賬單資訊 公司
//公司名稱
public string INVCompanyName { get; set; }
//統一編號
public string INVTaxNumber { get; set; }
//國家
public string INVCountryID { get; set; }
//州/省
public string INVStateName { get; set; }
//城市
public string INVCityName { get; set; }
//公司地址
public string INVStreet1 { get; set; }
//郵遞區號
public string INVZipCode { get; set; }
//賬單資訊 個人
//名字
public string INVFirstName { get; set; }
//姓氏
public string INVLastName { get; set; }
//郵箱
public string INVEmail { get; set; }
//國家
public string INVICountryID { get; set; }
//電話
public string INVPhone { get; set; }
//電話國碼
public string INVPhoneCode { get; set; }
}
}