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 decimal? DiscountFactor { get; set; }
///
/// 到货数量
///
public int? ArrivalQuantity { get; set; }
///
/// 基础价格(基础包装费、仅贴码)
///
public decimal? BasicPrice { get; set; }
///
/// 增量价格
///
public decimal? IncrementPartPrice { get; set; }
///
/// 增量工序价
///
public decimal? IncrementProcessPrice { get; set; }
///
/// 折扣类型
///
public FeesMode? FeesMode { get; set; }
///
/// 总费用
///
public decimal? AllFees { get; set; }
///
/// 打包费用折扣价
///
public decimal? PackDisCountFees { get; set; }
public override string ToString()
{
return $"{TaskId},{CreateTime.ToString("MM-dd")},{IsSettle},{DepartmentName},{ShopName}" +
$",{SkuCount},{BoxConsumableFees},{AirConsumableFees},{TapeConsumableFees},{OtherConsumableFees},{ConsumableFees},{ArrivalQuantity},{BasicPrice},{IncrementPartPrice},{IncrementProcessPrice},{PackSingleFees},{PackFees},{FeesMode},{DiscountFactor},{PackDisCountFees},{IncreaseFees},{AllFees}";
}
}
public class ShopTotalResponse
{
///
///
///
public int TotalCount { get; set; }
public ShopTotal[] ShopTotals { get; set; }
}
}