using AllBase.Model.MvvmBaseClasses; using AllBase.Model.Result; using NaiBa.Util; using Newtonsoft.Json; using NPOI.SS.Formula.Functions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AllBase.Model.DBModel { public class WXBuyMapInfo { public long id { get; set; } public string user_name { get; set; } public string spu_code { get; set; } public string sku_code { get; set; } public string map_url { get; set; } public string map_goods_name { get; set; } /// /// sku规格名称 /// public string map_spec_name { get; set; } public string map_goods_id { get; set; } public string map_sku_id { get; set; } /// /// 发货地(省,市) /// public string map_send_address { get; set; } public string transit_warehouse_id { get; set; } public DateTime add_time { get; set; } public DateTime mdy_time { get; set; } public string platform { get; set; } = "pdd"; } public class WXBuyMapSkusInfo : PropertyNotifyObject { public bool? IsChecked { get { return this.GetValue(x => x.IsChecked); } set { this.SetValue(x => x.IsChecked, value); } } public long id { get; set; } public string user_name { get; set; } public string spu_code { get; set; } public string map_url { get { return this.GetValue(x => x.map_url); } set { this.SetValue(x => x.map_url, value); } } public string map_goods_name { get { return this.GetValue(x => x.map_goods_name); } set { this.SetValue(x => x.map_goods_name, value); } } public string map_goods_id { get { return this.GetValue(x => x.map_goods_id); } set { this.SetValue(x => x.map_goods_id, value); } } string _map_skus; public string map_skus { get { return _map_skus; } set { _map_skus = value; try { pdd_front_goods3_Lite = JsonHelper.DeserializeJsonToObject(value); } catch { } } } [JsonIgnore] public pddFrontGoods3Lite pdd_front_goods3_Lite { get { return this.GetValue(x => x.pdd_front_goods3_Lite); } set { this.SetValue(x => x.pdd_front_goods3_Lite, value); } } /// /// 发货地(省,市) /// public string map_send_address { get; set; } public string transit_warehouse_id { get; set; } public DateTime add_time { get; set; } public DateTime mdy_time { get; set; } public string platform { get; set; } = "pdd"; } }