using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JLHHJSvr.Com.Model;
using LJLib.Net.SPI.Com;

namespace JLHHJSvr.Com
{
    public sealed class GetErpMtrlPriceListRequest : ILJRequest<GetErpMtrlPriceListResponse>
    {
        /// <summary>
        /// 登录token
        /// </summary>
        public string token { get; set; }
        /// <summary>
        /// 物料类别
        /// </summary>
        public int? mtrltypeid { get; set; }
        public string keyword { get; set; }
        public string mtrlname { get; set; }
        public string mtrlcode { get; set; }
        public string mtrlmode { get; set; }
        public string mtrlsectype { get; set; }
        public string zxmtrlmode { get; set; }
        public string usermtrlmode { get; set; }
        public string plancode { get; set; }
        public string mtrlengname { get; set; }
        public List<int> mtrltypeids { get; set; }
        public int pageindex { get; set; }
        public int pagesize { get; set; }
        public override string GetApiName()
        {
            return "GetErpMtrlPriceList";
        }
    }

    public sealed class GetErpMtrlPriceListResponse : LJResponse
    {
        public List<L1Mtrldef> mtrldefList { get; set; }
        public int pageindex { get; set; }
        public int pagesize { get; set; }
        public int totalcnt { get; set; }
    }
}
