using Seyounth.Hyosung.Data.Models; namespace Seyounth.Hyosung.Data.Services; public interface IVarietyService { /// /// 通过品种代码获取品种信息 /// /// 品种代码 /// 码垛层数 /// Task GetVarietyByCodeAsync(string code, int? layers = null); List GetAll(); Task GetById(int id); /// /// 添加品种信息 /// /// /// Task AddVarietyAsync(Variety variety); /// /// 获取所有托盘信息 /// /// Task> GetPalletsAsync(); /// /// 添加托盘信息 /// /// /// Task AddPalletAsync(Pallet pallet); }