using SlnMesnac.Model.domain;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SlnMesnac.Repository.service
{
    public interface IBaseMaterialService
    {

        /// <summary>
        /// 获取所有的物料信息
        /// </summary>
        /// <returns></returns>
        Task<List<BaseMaterialInfo>> GetMaterialInfos();

        /// <summary>
        /// 通过物料编码获取物料信息
        /// </summary>
        /// <param name="materialCode"></param>
        /// <returns></returns>
        BaseMaterialInfo GetMaterialInfoByMaterialCode(string materialCode);

      
    }
}
