using AllBase.Model.Result; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AllBase.Model.Param.OrderManage { public class FreightTemplateParam { public TemplateParam template { get; set; } public List columns { get; set; } } public class TemplateParam { public string template_name { get; set; } /// /// 发货省份id /// public long product_province { get; set; } /// /// 发货城市id /// public long product_city { get; set; } /// /// 计价方式-1.按重量计价 2.按数量计价; 模板类型为1、2、3时,计价类型传2 /// public int calculate_type { get; set; } = 2; /// /// 快递方式-1.快递 目前仅支持1 /// public int transfer_type { get; set; } /// /// 模板类型-0:阶梯计价 1:固定运费 2:卖家包邮 3:货到付款 /// public int rule_type { get; set; } /// /// 固定运费金额(单位:分) 固定运费模板必填 1-9900之间的整数 /// public int fixed_amount { get; set; } } public class TemplateRulesParam { /// /// 首重(单位:kg) /// public decimal first_weight { get; set; } /// /// 首重价格(单位:元) /// public decimal first_weight_price { get; set; } /// /// 首件数量(单位:个) /// public int first_num { get; set; } /// /// 首件价格(单位:元) /// public decimal first_num_price { get; set; } /// /// 续重(单位:kg) /// public decimal add_weight { get; set; } /// /// 续重价格(单位:元) /// public decimal add_weight_price { get; set; } /// /// 续件(单位:个) /// public int add_num { get; set; } /// /// 续件价格(单位:元) /// public decimal add_num_price { get; set; } /// /// 是否默认计价方式规则(1:是;0:不是) /// public int is_default { get; set; } /// /// 是否限运规则 /// public bool is_limited { get; set; } /// /// 当前规则生效的地址,非默认计价方式规则必填(如:限制购买规则) /// public string rule_address { get; set; } public List province_infos { get; set; } } public class ProvinceInfo { public List children { get; set; } public string id { get; set; } } }