All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
547 B
C#
15 lines
547 B
C#
using Fake.Domain.Repositories;
|
|
using Oms.Domain.SystemAggregate.Entities;
|
|
|
|
namespace Oms.Domain.SystemAggregate.Repositories;
|
|
|
|
public interface ICountryRepository : IRepository<Country>
|
|
{
|
|
Task<Country?> GetByCountryCodeAsync(string countryCode, CancellationToken cancellationToken = default);
|
|
|
|
/// <summary>
|
|
/// 按二字码查询,包含已软删除记录,用于恢复同码数据。
|
|
/// </summary>
|
|
Task<Country?> GetByCountryCodeIncludingDeletedAsync(string countryCode, CancellationToken cancellationToken = default);
|
|
}
|