using System.Threading.Tasks;
using MDL.Models;

namespace DAL.Interfaces
{
    /// <summary>
    /// 收货扫描记录的数据访问接口
    /// </summary>
    public interface IArrivalScanRecordRepository
    {
        /// <summary>
        /// 插入一条收货扫描记录
        /// </summary>
        /// <param name="entity">扫描记录实体</param>
        /// <returns>插入的记录ID</returns>
        Task<int> InsertAsync(ArrivalScanRecordEntity entity);
    }
}
