using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyCode.Project.Domain.Message.Request.WMS
{
public class SaleOrder
{
///
/// 单据编号
///
public string OrderNo { get; set; }
///
/// 公司组织
///
public string CompanyId { get; set; }
///
/// 同步日期时间
///
public string ReadTime { get; set; }
///
/// 销售类型
///
public string OrderType { get; set; }
///
/// 客户编码
///
public string CustAccount { get; set; }
///
/// 单据日期
///
public string OrderTime { get; set; }
///
/// WMS仓库
///
public string WarehouseId { get; set; }
///
/// 货主
///
public string CustomerId { get; set; }
///
/// 下发系统
///
public string Channel { get; set; }
///
/// 单据类型
///
public string ItemType { get; set; }
///
/// 单据总数量
///
public int TotalQty { get; set; }
///
/// 单据总金额
///
public decimal TotalMount { get; set; }
///
/// 备注
///
public string Comment { get; set; }
///
/// 单据创建日期时间
///
public string CreateTime { get; set; }
///
/// 订单明细
///
public Line[] Lines { get; set; }
}
public class Line
{
///
/// 单据编号
///
public string OrderNo { get; set; }
///
/// 公司组织
///
public string CompanyId { get; set; }
///
/// 销售类型
///
public string OrderType { get; set; }
///
/// 行号
///
public int LineNo { get; set; }
///
/// 货主
///
public string CustomerId { get; set; }
///
/// SKU
///
public string Sku { get; set; }
///
/// 条码
///
public string Barcode { get; set; }
///
/// 行数量
///
public int OrderQty { get; set; }
///
/// 单位
///
public string OrderUnit { get; set; }
///
/// 价格
///
public decimal OrderPrice { get; set; }
///
/// 物料编码
///
public string ItemId { get; set; }
///
/// 尺寸
///
public string SizeType { get; set; }
///
/// 颜色
///
public string Color { get; set; }
///
/// ERP仓库
///
public string LocationId { get; set; }
///
/// 部门
///
public string Comment { get; set; }
///
/// 创建日期时间
///
public string CreateTime { get; set; }
}
}