Merge branch 'newmain'
This commit is contained in:
@@ -19,7 +19,7 @@ public record GetAllUserOrderByFilterQuery : IRequest<GetAllUserOrderByFilterRes
|
|||||||
//شناسه تراکنش
|
//شناسه تراکنش
|
||||||
public long? TransactionId { get; set; }
|
public long? TransactionId { get; set; }
|
||||||
//وضعیت پرداخت
|
//وضعیت پرداخت
|
||||||
public bool? PaymentStatus { get; set; }
|
public int? PaymentStatus { get; set; }
|
||||||
//تاریخ پرداخت
|
//تاریخ پرداخت
|
||||||
public DateTime? PaymentDate { get; set; }
|
public DateTime? PaymentDate { get; set; }
|
||||||
//شناسه کاربر
|
//شناسه کاربر
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ public class GetAllUserOrderByFilterResponseDto
|
|||||||
//شناسه تراکنش
|
//شناسه تراکنش
|
||||||
public long? TransactionId { get; set; }
|
public long? TransactionId { get; set; }
|
||||||
//وضعیت پرداخت
|
//وضعیت پرداخت
|
||||||
public bool PaymentStatus { get; set; }
|
public int PaymentStatus { get; set; }
|
||||||
//تاریخ پرداخت
|
//تاریخ پرداخت
|
||||||
public DateTime? PaymentDate { get; set; }
|
public DateTime? PaymentDate { get; set; }
|
||||||
//شناسه کاربر
|
//شناسه کاربر
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ message GetAllUserOrderByFilterFilter
|
|||||||
google.protobuf.Int64Value price = 2;
|
google.protobuf.Int64Value price = 2;
|
||||||
google.protobuf.Int64Value package_id = 3;
|
google.protobuf.Int64Value package_id = 3;
|
||||||
google.protobuf.Int64Value transaction_id = 4;
|
google.protobuf.Int64Value transaction_id = 4;
|
||||||
google.protobuf.BoolValue payment_status = 5;
|
google.protobuf.Int32Value payment_status = 5;
|
||||||
google.protobuf.Timestamp payment_date = 6;
|
google.protobuf.Timestamp payment_date = 6;
|
||||||
google.protobuf.Int64Value user_id = 7;
|
google.protobuf.Int64Value user_id = 7;
|
||||||
google.protobuf.Int64Value user_address_id = 8;
|
google.protobuf.Int64Value user_address_id = 8;
|
||||||
@@ -116,7 +116,7 @@ message GetAllUserOrderByFilterResponseModel
|
|||||||
int64 price = 2;
|
int64 price = 2;
|
||||||
int64 package_id = 3;
|
int64 package_id = 3;
|
||||||
google.protobuf.Int64Value transaction_id = 4;
|
google.protobuf.Int64Value transaction_id = 4;
|
||||||
bool payment_status = 5;
|
int32 payment_status = 5;
|
||||||
google.protobuf.Timestamp payment_date = 6;
|
google.protobuf.Timestamp payment_date = 6;
|
||||||
int64 user_id = 7;
|
int64 user_id = 7;
|
||||||
int64 user_address_id = 8;
|
int64 user_address_id = 8;
|
||||||
|
|||||||
@@ -50,6 +50,9 @@ public class GeneralMapping : IRegister
|
|||||||
config.NewConfig<TimeSpan?, Duration>()
|
config.NewConfig<TimeSpan?, Duration>()
|
||||||
.MapWith(src => src.HasValue ? Duration.FromTimeSpan(src.Value) : null);
|
.MapWith(src => src.HasValue ? Duration.FromTimeSpan(src.Value) : null);
|
||||||
|
|
||||||
|
config.NewConfig<DateTimeOffset?, DateTime?>()
|
||||||
|
.MapWith(src => src.HasValue ? src.Value.DateTime : (DateTime?)null);
|
||||||
|
|
||||||
config.Default
|
config.Default
|
||||||
.UseDestinationValue(member => member.SetterModifier == AccessModifier.None &&
|
.UseDestinationValue(member => member.SetterModifier == AccessModifier.None &&
|
||||||
member.Type.IsGenericType &&
|
member.Type.IsGenericType &&
|
||||||
|
|||||||
Reference in New Issue
Block a user