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

namespace ICS.CreateRtnTORcv
{

    public class RejectQty
    {
        /// <summary>
        /// 
        /// </summary>
        public decimal Amount1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal Amount2 { get; set; }
    }

    public class RtnFillQty
    {
        /// <summary>
        /// 
        /// </summary>
        public decimal Amount1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal Amount2 { get; set; }
    }

    public class RtnDeductQty
    {
        /// <summary>
        /// 
        /// </summary>
        public decimal Amount1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal Amount2 { get; set; }
    }

    public class DescFlexSegments
    {
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg3 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg4 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg5 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg6 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg7 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg8 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg9 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg10 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg11 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg12 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg13 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg14 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg15 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg16 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg17 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg18 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg19 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg20 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg21 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg22 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg23 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg24 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg25 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg26 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg27 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg28 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg29 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg30 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg31 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg32 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg33 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg34 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg35 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg36 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg37 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg38 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg39 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg40 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg41 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg42 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg43 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg44 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg45 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg46 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg47 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg48 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg49 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PubDescSeg50 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg3 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg4 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg5 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg6 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg7 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg8 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg9 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg10 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg11 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg12 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg13 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg14 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg15 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg16 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg17 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg18 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg19 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg20 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg21 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg22 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg23 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg24 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg25 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg26 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg27 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg28 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg29 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PrivateDescSeg30 { get; set; }
    }

    public class TransformDTOsItem
    {
        /// <summary>
        /// 
        /// </summary>
        public long SrcRcvLine { get; set; }
        public string InvLotCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public RejectQty RejectQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public RtnFillQty RtnFillQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public RtnDeductQty RtnDeductQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime RcvBusinessDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long CooperateFromRcv { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long CooperateFromRcvLine { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long RtnWh { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string SrcID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string SrcRcvDocNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int SrcRcvDocLineNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RtnBinCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long RtnBin { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Memo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DescFlexSegments DescFlexSegments { get; set; }
    }



    public class CreateRtnWebApiModel
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> splitTerm { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<TransformDTOsItem> transformDTOs { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long rcvDocTypeID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int itemType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rcvDocTypeCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OtherID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int srcDocType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Memo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DescFlexSegments DescFlexSegments { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime ConfirmDate { get; set; }
    }



    public class DataItem
    {
        /// <summary>
        /// 
        /// </summary>
        public bool IsSucess { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string U9CVersion { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string OtherID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public long ID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 未将对象引用设置到对象的实例。
        /// </summary>
        public string ErrorMsg { get; set; }

    }



    public class CreateRtnWebApiReturnModel
    {
        /// <summary>
        /// 
        /// </summary>
        public int ResCode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ResMsg { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public List<DataItem> Data { get; set; }

    }


    public class SubmitOrShenHeModel
    {
        /// <summary>
        /// 
        /// </summary>
        public long RcvID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string RcvDocNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string OrgCode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string OtherID { get; set; }

    }








}
