Make package_id optional in user order proto and command

This commit is contained in:
masoodafar-web
2025-11-28 02:47:27 +03:30
parent 746c0b2542
commit 84f08f11e4
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ public record UpdateUserOrderCommand : IRequest<Unit>
//قیمت
public long Amount { get; init; }
//شناسه پکیج
public long PackageId { get; init; }
public long? PackageId { get; init; }
//شناسه تراکنش
public long? TransactionId { get; init; }
//وضعیت پرداخت

View File

@@ -3,7 +3,7 @@
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.0.134</Version>
<Version>0.0.135</Version>
<DebugType>None</DebugType>
<DebugSymbols>False</DebugSymbols>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>

View File

@@ -75,7 +75,7 @@ message UpdateUserOrderRequest
{
int64 id = 1;
int64 amount = 2;
int64 package_id = 3;
google.protobuf.Int64Value package_id = 3;
google.protobuf.Int64Value transaction_id = 4;
oneof PaymentStatus_item
{