using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ICSSoft.Entity
{
    public class ICSTransferDoc
    {
        public string ID { get; set; }//ID
        public string User { get; set; }//用户
        public DateTime MTime { get; set; }//时间
        public string WorkPoint { get; set; }
        public bool UpdateStock { get; set; }
        public bool UpdateTodoQuantity { get; set; }//是否更新库存

        public bool IsSuccess { get; set; }

        public string Message { get; set; }

        public List<ICSTransferLineDoc> details { get; set; }
    }


    public class ICSTransferLineDoc
    {
        public string DetailID { get; set; }

        public string Sequence { get; set; }

        public string LogIds { get; set; }

        public bool IsSuccess { get; set; }

        public string Message { get; set; }
    }





    public class ICSTransfer
    {
        public string FromDepCode { get; set; }//调出部门编码
        public string FromWHCode { get; set; }//调出仓库编码
        public string ToDepCode { get; set; }//调入部门编码
        public string ToWHCode { get; set; }//调入仓库编码
        public string TACode { get; set; }//调拨申请单号
        public bool UpdateTodoQuantity { get; set; }//是否更新库存
        public string User { get; set; }//操作人
        public string WorkPoint { get; set; } //站点
        public bool UpdateStock { get; set; }
        public DateTime MTime { get; set; }//操作时间

        public bool IsSuccess { get; set; }


        public string Message { get; set; }

        public string ID { get; set; }

        public List<ICSTransfers> details = new List<ICSTransfers>();
    }

    public class ICSTransfers
    {
        public string Sequence { get; set; }//行号
        public string InvCode { get; set; }//料品编码
        public string OutWhCode { get; set; }//调出仓库编码
        public string INWhCode { get; set; }//调入仓库编码
        public string SupplierCode { get; set; }//供应商编码
        public decimal Quantity { get; set; }//数量
        public decimal Amount { get; set; }//辅计量数量

        public string TADetailID { get; set; }//调拨申请单表体ID
        public string ProjectCode { get; set; }//项目号
        public string Version { get; set; }//版本
        public string Brand { get; set; }//厂牌
        public string BatchCode { get; set; }//批次号
        public string cFree1 { get; set; }//自由项1
        public string cFree2 { get; set; }//自由项2
        public string cFree3 { get; set; }//自由项3
        public string cFree4 { get; set; }//自由项4
        public string cFree5 { get; set; }//自由项5
        public string cFree6 { get; set; }//自由项6
        public string cFree7 { get; set; }//自由项7
        public string cFree8 { get; set; }//自由项8
        public string cFree9 { get; set; }//自由项9
        public string cFree10 { get; set; }//自由项10

        public string LogIds { get; set; }
    }



}
