- Ya
- 27 Aprili 2026, 23:07 UTC
- Mwandishi
- Kamo
- Ahadi ya
- 89bbb86
The retail customer-segmentation entity (with discountPercentage, used by PriceList for tier-based pricing) collided in name with the now-removed billing-group concept. Renamed throughout to "Tier" to make its purpose self-evident and eliminate the lingering "group" terminology in the accounts package. Renames: - AccountGroup -> AccountTier - AccountGroupMembership -> AccountTierMembership (and its `group` field -> `tier`) - AccountGroupRepository -> AccountTierRepository - **************** -> AccountTierMembershipRepository (findByGroupUid -> findByTierUid) - Tables: ACCOUNT_GROUPS -> ACCOUNT_TIERS, ACCOUNT_GROUP_MEMBERSHIPS -> ACCOUNT_TIER_MEMBERSHIPS - PriceList.customerGroup -> customerTier (column customer_group_id -> customer_tier_id) - RetailService methods: getCustomerGroups -> getCustomerTiers, createGroup -> createTier, updateGroup -> updateTier, deleteGroup -> deleteTier, toGroupDTO -> toTierDTO - DTO field customerGroupId -> customerTierId