Files
CMS/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetCustomerWalletHistory/GetCustomerWalletHistoryResponseDto.cs
T
masoodafar-web 10d2ca20d1
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 9m11s
refactor: rename UserWalletChangeLog→UserWalletHistory, add History interceptor & migration
- Rename UserWalletChangeLog to UserWalletHistory across 54+ files (entities, configs, DTOs, commands, queries, protos, services)
- Rename 34 files and 11 directories accordingly
- Rename proto file userwalletchangelog.proto → userwallethistory.proto
- Add IHasHistory<T> generic interface for history auto-tracking
- Implement IHasHistory<PackageHistory> on Package entity
- Add HistoryTrackingSaveChangesInterceptor (reflection-based, auto-fills Old* values from OriginalValues)
- Wire interceptor in DI and ApplicationDbContext
- Add EF migration Q27_HistoryTables_And_RenameWalletHistory:
  * RenameTable UserWalletChangeLogs → UserWalletHistories (preserves data)
  * Rename PK, FK constraints and indexes via sp_rename
  * CreateTable ClubMembershipCycleHistories + PackageHistories
2026-02-27 06:22:15 +03:30

50 lines
1.2 KiB
C#

namespace CMSMicroservice.Application.UserWalletCQ.Queries.GetCustomerWalletHistory;
public class GetCustomerWalletHistoryResponseDto
{
/// <summary>
/// موجودی جاری
/// </summary>
public long CurrentBalance { get; set; }
/// <summary>
/// مقدار تغییر
/// </summary>
public long ChangeValue { get; set; }
/// <summary>
/// موجودی جاری شبکه
/// </summary>
public long CurrentNetworkBalance { get; set; }
/// <summary>
/// مقدار تغییر شبکه
/// </summary>
public long ChangeNerworkValue { get; set; }
/// <summary>
/// موجودی جاری تخفیف
/// </summary>
public long CurrentDiscountBalance { get; set; }
/// <summary>
/// مقدار تغییر تخفیف
/// </summary>
public long ChangeDiscountValue { get; set; }
/// <summary>
/// افزایشی است؟
/// </summary>
public bool IsIncrease { get; set; }
/// <summary>
/// شناسه ارجاع
/// </summary>
public long? RefrenceId { get; set; }
/// <summary>
/// تاریخ ایجاد
/// </summary>
public DateTime Created { get; set; }
}