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>
16 lines
525 B
C#
16 lines
525 B
C#
using System.Threading.Tasks;
|
|
using WmsLite.Api.Common;
|
|
using WmsLite.Api.Dtos.Warehouse;
|
|
using WmsLite.Api.Models;
|
|
|
|
namespace WmsLite.Api.Repositories.Interfaces;
|
|
|
|
public interface IWarehouseRepository : IBaseRepository<Warehouse>
|
|
{
|
|
Task<Warehouse?> GetByCodeAsync(string tenantId, string ownerCode, string code);
|
|
|
|
Task<Dictionary<string, string>> GetNameMapByCodesAsync(string tenantId, string ownerCode, IEnumerable<string> codes);
|
|
|
|
Task<PagedResult<Warehouse>> GetPagedListAsync(WarehousePagedQuery query);
|
|
}
|