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 Amount { get; init; }
//شناسه پکیج //شناسه پکیج
public long PackageId { get; init; } public long? PackageId { get; init; }
//شناسه تراکنش //شناسه تراکنش
public long? TransactionId { get; init; } public long? TransactionId { get; init; }
//وضعیت پرداخت //وضعیت پرداخت

View File

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

View File

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