Make package_id optional in user order proto and command
This commit is contained in:
@@ -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; }
|
||||
//وضعیت پرداخت
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user