using BBWY.Client.ViewModels;
using System;
using System.Collections.Generic;
using System.Text;
namespace BBWY.Client.Models.PackTask
{
public class ShopTotal :NotifyObject
{
private long id;
public long Id { get => id; set { Set(ref id, value); } }
private bool taskChecked;
public bool TaskChecked { get => taskChecked; set { Set(ref taskChecked, value); } }
public long TaskId { get; set; }
///
/// 需求方创建日期
///
public DateTime CreateTime { get; set; }
///
/// 是否结清
///
//
public Settle IsSettle { get; set; }
///
/// 部门
///
public string DepartmentName { get; set; }
///
/// 店铺
///
public string ShopName { get; set; }
///
/// 对接人
///
public string AcceptUserName { get; set; }
///
/// sku
///
public string SkuName { get; set; }
///
/// sku数量(任务数量)
///
public int SkuCount { get; set; }
public decimal IncreaseFees { get; set; }
public decimal PackFees { get; set; }
public decimal ConsumableFees { get; set; }
public decimal Price { get; set; }
public decimal Discount { get; set; }
public decimal DiscountPrice { get; set; }
///
/// 注意事项(对接备注)
///
public string MarkMessage { get; set; }
public override string ToString()
{
return $"{TaskId},{CreateTime.ToString("yyyy-MM-dd")},{IsSettle},{DepartmentName},{ShopName}" +
$",{AcceptUserName},{SkuName},{SkuCount},{IncreaseFees},{PackFees},{ConsumableFees},{Price},{Discount},{DiscountPrice},{MarkMessage}";
}
}
public class ShopTotalResponse
{
///
///
///
public int TotalCount { get; set; }
public ShopTotal[] ShopTotals { get; set; }
}
}