using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Helper;
namespace WIDESEA_DTO.SquareCabin
{
public class OrderDto
{
///
/// 返回给上游的响应
///
public class UpstreamOrderResponse
{
///
/// 结果代码:0成功,1失败
///
public string resultCode { get; set; }
///
/// 结果信息
///
public string resultMsg { get; set; }
}
///
/// 通用上游响应
///
/// 返回的业务数据类型
public class UpstreamResponse
{
///
/// 结果代码:0成功,1失败
///
public string resultCode { get; set; }
///
/// 结果信息
///
public string resultMsg { get; set; }
///
/// 业务数据
///
public List data { get; set; }
}
///
/// 入库单表头信息
///
public class UpstreamOrderInfo
{ ///
/// 入库单号
///
public string order_no { get; set; }
///
/// 入库单类型(1:正常入库;3:入库退货)
///
public string order_type { get; set; }
///
/// 供应商代码
///
public string supplier_no { get; set; }
///
/// 供应商品名称
///
public string supplier_name { get; set; }
///
/// 库房号
///
public string warehouse_no { get; set; }
///
/// 入库记账时间
///
public DateTime account_time { get; set; }
///
/// 优先级(业务系统可能没有)
///
public string priority_level { get; set; }
///
/// 明细信息
///
public List details { get; set; }
}
///
/// 入库单明细
///
public class UpstreamOrderDetail
{
///
/// 药品编码
///
public string goods_no { get; set; }
///
/// 入库数量(退货为负数);对于WMS来说都为入库为正数
///
public decimal order_qty { get; set; }
///
/// 批号
///
public string batch_num { get; set; }
///
/// 效期(短格式时间)
///
public string exp_date { get; set; }
/////
///// 库房号
/////
//public string warehouse_no { get; set; }
}
///
/// 出库单表头信息
///
public class UpstramOutOrderInfo
{
public string order_no { get; set; }
public string order_type { get; set; }
///
///
///
public string client_no { get; set; }
public string client_name { get; set; }
///
/// 库房号
///
public string warehouse_no { get; set; }
///
/// 出库记账时间
///
public DateTime account_time { get; set; }
public List details { get; set; }
}
///
/// 出库单明细
///
public class UpstreamOutOrderDetail
{
public string goods_no { get; set; }
///
/// 出库数量
///
public decimal order_qty { get; set; }
public string batch_num { get; set; }
public string exp_date { get; set; }
}
///
/// 药品信息
///
public class MedicationsInfo
{
public string goods_no { get; set; }
public string materialCode { get; set; }
///
/// 通用名
///
public string goods_tym { get; set; }
public string goods_spm { get; set; }
public string model { get; set; }
public string factory { get; set; }
public string unit { get; set; }
public decimal? item_length { get; set; }
public decimal? item_width { get; set; }
public decimal? item_hight { get; set; }
public decimal? item_volumn { get; set; }
public decimal? item_weight { get; set; }
///
/// 储存条件
///
public string storage_confition { get; set; }
public string remark { get; set; }
public DateTime modify_date { get; set; }
}
///
/// 供应商信息
///
public class SupplierInfo
{
///
/// 供应商编码
///
public string supplier_no { get; set; }
///
/// 供应商名称
///
public string supplier_name { get; set; }
///
/// 电话
///
public string phone { get; set; }
///
/// 地址
///
public string address { get; set; }
///
/// 邮箱
///
public string email { get; set; }
///
/// 备注
///
public string remark { get; set; }
///
/// 修改时间
///
public DateTime modify_date { get; set; }
}
///
/// 客户信息
///
public class CustomerInfo
{
///
/// 客户编码
///
public string client_no { get; set; }
///
/// 客户名称
///
public string client_name { get; set; }
///
/// 电话
///
public string telephone { get; set; }
///
/// 地址
///
public string address { get; set; }
///
/// 邮箱
///
public string email { get; set; }
///
/// 备注
///
public string remark { get; set; }
///
/// 修改时间
///
public DateTime modify_date { get; set; }
}
///
/// 库存信息
///
public class InventoryInfo
{
public string goods_no { get; set; }
///
/// 批号
///
public string batch_num { get; set; }
///
/// 库存数量
///
public decimal business_qty { get; set; }
///
/// 可用库存(实际库存数量)
///
public decimal actural_qty { get; set; }
///
/// 效期
///
public string exp_date { get; set; }
}
}
}