Implement API security baseline (sys_user, JWT, audit fields, transactions, unique constraints) and Web real login with 401 handling. Document setup and development workflows in root, WmsLite.Api, and WmsLite.Web README files. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
617 B
C#
21 lines
617 B
C#
using System.Threading.Tasks;
|
|
using WmsLite.Api.Common;
|
|
using WmsLite.Api.Dtos.Zone;
|
|
using WmsLite.Api.Models;
|
|
|
|
namespace WmsLite.Api.Repositories.Interfaces;
|
|
|
|
public interface IZoneRepository : IBaseRepository<Zone>
|
|
{
|
|
Task<Zone?> GetByWarehouseAreaAndZoneCodeAsync(
|
|
string tenantId,
|
|
string ownerCode,
|
|
string warehouseCode,
|
|
string areaCode,
|
|
string zoneCode);
|
|
|
|
Task<Dictionary<string, string>> GetNameMapByWarehouseCodesAsync(string tenantId, string ownerCode, IEnumerable<string> warehouseCodes);
|
|
|
|
Task<PagedResult<Zone>> GetPagedListAsync(ZonePagedQuery query);
|
|
}
|