📄 ipackage.cs
字号:
namespace PowerEasy.IDal.Shop
{
using PowerEasy.Model.Shop;
using System;
using System.Collections.Generic;
public interface IPackage
{
bool Add(PackageInfo packageInfo);
bool Delete(int id);
bool Delete(string id);
bool ExistsPackage(string packageName);
bool ExistsPackage(double goodsWeightMin, double goodsWeightMax);
bool ExistsPackage(string packageName, int currentPackageId);
bool ExistsPackage(double goodsWeightMin, double goodsWeightMax, int currentPackageId);
IList<PackageInfo> GetList();
PackageInfo GetPackageByGoodsWeight(double goodsWeight);
PackageInfo GetPackageById(int id);
bool Update(PackageInfo packageInfo);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -