using JNPF.Common.Models.WorkFlow;
using JNPF.DependencyInjection;
using Newtonsoft.Json;
namespace JNPF.Extend.Entitys.Dto.Order;
///
/// 新建订单.
///
[SuppressSniffer]
public class OrderCrInput: FlowTaskOtherModel
{
///
/// 客户名称.
///
public string? customerName { get; set; }
///
/// 业务人员id.
///
public string? salesmanId { get; set; }
///
/// 订单日期.
///
public DateTime? orderDate { get; set; }
///
/// 订单编码.
///
public string? orderCode { get; set; }
///
/// 付款方式.
///
public string? paymentMode { get; set; }
///
/// 付款金额.
///
public decimal? receivableMoney { get; set; }
///
/// 定金比率.
///
public decimal? earnestRate { get; set; }
///
/// 预付定金.
///
public decimal? prepayEarnest { get; set; }
///
/// 运输方式.
///
public string? transportMode { get; set; }
///
/// 发货日期.
///
public DateTime? deliveryDate { get; set; }
///
/// 发货地址.
///
public string? deliveryAddress { get; set; }
///
/// 相关附近.
///
public string? fileJson { get; set; }
///
/// 客户ID.
///
public string? customerId { get; set; }
///
/// 业务人员名字.
///
public string? salesmanName { get; set; }
///
///备注.
///
public string? description { get; set; }
///
/// 主键.
///
public string? id { get; set; }
///
/// 状态.
///
public int? status { get; set; }
///
/// 紧急程度.
///
public int? flowUrgent { get; set; } = 1;
///
/// 商品列表.
///
public List? goodsList { get; set; }
///
/// 收款计划列表.
///
public List? collectionPlanList { get; set; }
}
///
/// 订单明细.
///
public class OrderInfo
{
///
/// 客户名称.
///
public string? customerName { get; set; }
///
/// 业务人员id.
///
public string? salesmanId { get; set; }
///
/// 订单日期.
///
public DateTime? orderDate { get; set; }
///
/// 订单编码.
///
public string? orderCode { get; set; }
///
/// 付款方式.
///
public string? paymentMode { get; set; }
///
/// 付款金额.
///
public decimal? receivableMoney { get; set; }
///
/// 定金比率.
///
public string? earnestRate { get; set; }
///
/// 预付定金.
///
public string? prepayEarnest { get; set; }
///
/// 运输方式.
///
public string? transportMode { get; set; }
///
/// 发货日期.
///
public DateTime? deliveryDate { get; set; }
///
/// 发货地址.
///
public string? deliveryAddress { get; set; }
///
/// 相关附近.
///
public string? fileJson { get; set; }
///
/// 客户ID.
///
public string? customerId { get; set; }
///
/// 业务人员名字.
///
public string? salesmanName { get; set; }
///
/// 备注.
///
public string? description { get; set; }
///
/// id.
///
public string? id { get; set; }
///
/// 候选人.
///
public Dictionary> candidateList { get; set; }
///
/// 选择分支.
///
public List branchList { get; set; } = new List();
///
/// 异常审批人.
///
public Dictionary> errorRuleUserList { get; set; } = new Dictionary>();
}
///
/// 商品明细.
///
public class GoodsList
{
///
/// 商品id.
///
public string? goodsId { get; set; }
///
/// 商品名称.
///
public string? goodsName { get; set; }
///
/// 规格型号.
///
public string? specifications { get; set; }
///
/// 单位.
///
public string? unit { get; set; }
///
/// 数量.
///
public decimal? qty { get; set; }
///
/// 单价.
///
public string? price { get; set; }
///
/// 金额.
///
public string? amount { get; set; }
///
/// 折扣.
///
public decimal? discount { get; set; }
///
/// 税率.
///
public decimal? cess { get; set; }
///
/// 实际单价.
///
public string? actualPrice { get; set; }
///
/// 实际金额.
///
public string? actualAmount { get; set; }
///
/// 备注.
///
public string? description { get; set; }
}
///
/// 收款明细.
///
[SuppressSniffer]
public class CollectionPlanList
{
///
/// 收款日期.
///
public DateTime? receivableDate { get; set; }
///
/// 收款比率.
///
public decimal? receivableRate { get; set; }
///
/// 收款金额.
///
public string? receivableMoney { get; set; }
///
/// 收款方式.
///
public string? receivableMode { get; set; }
///
/// 收款摘要.
///
[JsonProperty("abstract")]
public string? abstracts { get; set; }
}