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 decimal? PackSingleFees { get; set; }
///
/// 打包费用
///
public decimal? PackAllFees { get; set; }
///
/// 箱子费用
///
public decimal? BoxConsumableFees { get; set; }
///
/// 气泡纸耗材费
///
public decimal? AirConsumableFees { get; set; }
///
/// 胶带耗材费
///
public decimal? TapeConsumableFees { get; set; }
///
/// 其他耗材费
///
public decimal? OtherConsumableFees { get; set; }
public override string ToString()
{
return $"{TaskId},{CreateTime.ToString("MM-dd")},{IsSettle},{DepartmentName},{ShopName}" +
$",{SkuCount},{BoxConsumableFees},{AirConsumableFees},{TapeConsumableFees},{OtherConsumableFees},{ConsumableFees},{PackSingleFees},{PackAllFees},{Price},{Discount},{DiscountPrice}";
}
}
public class ShopTotalResponse
{
///
///
///
public int TotalCount { get; set; }
public ShopTotal[] ShopTotals { get; set; }
}
}