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