Files
CMS/src/CMSMicroservice.Application/PackageCQ/Queries/GetPackage/GetPackageResponseDto.cs
T
masoodafar-web dcd11351a3
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 9m41s
feat(T4.13): add PackageFeature CRUD support
- Proto: add feature_ids to Create/Update/Get package messages
- Commands: add FeatureIds to Create/Update commands
- Handlers: sync PackageFeature join entities on create/update
- Queries: include PackageFeatures, map FeatureIds in responses
- Bump NuGet to v0.0.188
2026-02-26 21:59:24 +03:30

28 lines
1.0 KiB
C#

namespace CMSMicroservice.Application.PackageCQ.Queries.GetPackage;
public class GetPackageResponseDto
{
//شناسه
public long Id { get; set; }
//عنوان
public string Title { get; set; }
//توضیحات
public string Description { get; set; }
//آدرس تصویر
public string ImagePath { get; set; }
//قیمت
public long Price { get; set; }
// فیلدهای جدید پکیج
public int SortOrder { get; set; }
public bool IsActive { get; set; }
public bool IsBasePackage { get; set; }
public bool SupportsDayaPurchase { get; set; }
public bool SupportsDirectPurchase { get; set; }
public long ActivationFee { get; set; }
public decimal DiscountMultiplier { get; set; }
public decimal MagicWalletMultiplier { get; set; }
public int MaxBalancesPerLeg { get; set; }
public int MaxNetworkLevel { get; set; }
public long MagicWalletMaxDeposit { get; set; }
public long MagicWalletMaxCredit { get; set; }
public List<long> FeatureIds { get; set; } = new();
}