feat(store): auto-generate store code on create and make update code optional
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 44s

This commit is contained in:
2026-02-18 08:27:37 +08:00
parent 1b185af718
commit b3429e2a0d
6 changed files with 56 additions and 35 deletions

View File

@@ -23,9 +23,9 @@ public sealed record UpdateStoreCommand : IRequest
public string Name { get; init; } = string.Empty;
/// <summary>
/// 门店编码。
/// 门店编码(可选,未传时保持原值)
/// </summary>
public string Code { get; init; } = string.Empty;
public string? Code { get; init; }
/// <summary>
/// 联系电话。