feat(Q27): PackageHistory + ClubMembershipCycleHistory entities
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m28s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m28s
Q27: History Tables standardization — added missing history entities: - PackageHistory: tracks price, activation fee, magic settings changes - ClubMembershipCycleHistory: tracks cycle state transitions - PackageAction + ClubMembershipCycleAction enums - EF configurations with proper indexes and FK relationships - DbSets registered in IApplicationDbContext + ApplicationDbContext - Navigation properties on Package + ClubMembershipCycle entities
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace CMSMicroservice.Domain.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// نوع عملیات تغییر دوره عضویت باشگاه (Q27)
|
||||
/// </summary>
|
||||
public enum ClubMembershipCycleAction
|
||||
{
|
||||
Started = 0,
|
||||
MagicEntered = 1,
|
||||
MagicCompleted = 2,
|
||||
Completed = 3,
|
||||
Cancelled = 4,
|
||||
ManualFix = 5
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
namespace CMSMicroservice.Domain.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// نوع عملیات تغییر پکیج (Q27)
|
||||
/// </summary>
|
||||
public enum PackageAction
|
||||
{
|
||||
Created = 0,
|
||||
Updated = 1,
|
||||
PriceChanged = 2,
|
||||
Deactivated = 3,
|
||||
Reactivated = 4,
|
||||
MagicSettingsChanged = 5,
|
||||
CommissionSettingsChanged = 6,
|
||||
ManualFix = 7
|
||||
}
|
||||
Reference in New Issue
Block a user