Commit graph

53 commits

Author SHA1 Message Date
Corentin Huet
cbd5a56e48 feat: ✨ add use case to find coupon details by code 2026-10-13 10:00:57 +02:00
Alexis Gousseau
a21415269c
feat: ✨ add CreateCoupon use case tests and check brand existence when creating a coupon 2026-10-12 17:17:21 +02:00
Alexis Gousseau
fdbde84728
refactor: ♻️ update coupon Entity and related VO 2026-10-12 17:07:56 +02:00
Corentin Huet
0b7da69567 refactor: ♻️ make sort required in campaign request list 2026-10-02 17:13:05 +02:00
Corentin Huet
5a59a92546 refactor: ♻️ move face value validation to MoneyAmount 2026-10-02 17:00:14 +02:00
K Muller
871ceade05 fix: 🐛 new structures and fix linters 2026-10-02 12:48:00 +02:00
K Muller
a9147e27c7 fix: 🐛 some fixes on the structure in sprint2 2026-10-02 12:48:00 +02:00
Corentin Huet
567a5cd48e feat: ✨ add campaign request creation use case 2026-10-02 12:48:00 +02:00
Corentin Huet
028f0a675d refactor: ♻️ delete stock repository 2026-10-02 12:48:00 +02:00
Corentin Huet
237e2c62be feat: ✨ create campaign, coupon and stock repositories 2026-10-02 12:48:00 +02:00
Corentin Huet
7265d2fa5f fix: 🐛 resolve some tests 2026-10-02 12:48:00 +02:00
Corentin Huet
f45bb119e0 refactor: ♻️ update entities, related VOs and tests 2026-10-02 12:48:00 +02:00
K Muller
02dfb42056 fix: 🐛 rename brand into brandcode 2026-10-02 12:47:59 +02:00
K Muller
aec9e6a575 feat: ✨ delete country from requestedcoupon 2026-10-02 12:47:59 +02:00
K Muller
ca312020cd fix: 🐛 change country and country authorized 2026-10-02 12:47:59 +02:00
K Muller
44c65cf9f6 feat: ✨ country enum is on coupon, and used as a backup 2026-10-02 12:47:59 +02:00
K Muller
29c6428aaf fix: 🐛 change Country into Shared 2026-10-02 12:47:59 +02:00
K Muller
f2fb5d8a23 fix: 🐛 fix linters 2026-10-02 12:47:27 +02:00
K Muller
973c833fac fix: 🐛 change entity requestedCoupon into VO 2026-10-02 12:47:27 +02:00
Corentin Huet
e15a372e59 refactor: ♻️ DateTime VO and use native DateTime class 2026-10-02 12:47:27 +02:00
K Muller
c773e9de4e fix: 🐛 add Quantity and WarningQuantity as VO 2026-10-02 12:47:27 +02:00
K Muller
6d7aecbd1d fix: 🐛 put enum in vo folder / use global country enum 2026-10-02 12:47:27 +02:00
Corentin Huet
59e4dbf2ee feat: ✨ add validations to entities and value objects 2026-10-02 12:47:27 +02:00
Corentin Huet
a58d604814 refactor: ♻️ replace trim with mb_trim 2026-10-02 12:47:27 +02:00
Corentin Huet
eae4193713 refactor: ♻️ replace trim with mb_trim 2026-10-02 12:47:27 +02:00
K Muller
19afb9f636 fix: 🐛 delete legacy base enum and backed int for enums 2026-10-02 12:47:27 +02:00
Corentin Huet
e5e64d69be refactor: ♻️ align Coupon entity with UML cardinalities 2026-10-02 12:47:27 +02:00
Corentin Huet
50eb40841f fix: 🚨 resolve phpcs errors 2026-10-02 12:47:27 +02:00
Corentin Huet
7312d3a192 feat: ✨ add findAll method to campaign request 2026-10-02 12:47:27 +02:00
K Muller
895b535f76 feat: ✨ add the rejection method for campaign request 2026-10-02 12:47:27 +02:00
K Muller
41a73edd97 fix: 🚨 linters 2026-10-02 12:47:27 +02:00
K Muller
5b872045c5 fix: 🚨 linters 2026-10-02 12:47:27 +02:00
Corentin Huet
063e3b79fb fix: 🚨 resolve pint errors 2026-10-02 12:47:27 +02:00
Corentin Huet
2f17cd6a9a fix: 🐛 resolve linter errors and tests 2026-10-02 12:47:27 +02:00
K Muller
1891359e65 feat: ✨ add stock entity 2026-10-02 12:47:27 +02:00
K Muller
6a24dd7e8a feat: 🔨 working on Stock and associated VO/Entities 2026-10-02 12:47:27 +02:00
Corentin Huet
9c5c3eaf64 feat: ✨ create Campaign entity and associated VOs 2026-10-02 12:47:27 +02:00
Corentin Huet
c0801988fc feat: ✨ create Tag entity and associated VOs 2026-10-02 12:47:27 +02:00
K Muller
46ae192d88 fix: 🚨 linters 2026-10-02 12:47:27 +02:00
K Muller
269ff25f0f fix: 🐛 add missing rejection field in campaignRequest 2026-10-02 12:47:27 +02:00
Corentin Huet
00a33f1b7e feat: ✨ create campaign request repository 2026-10-02 12:47:27 +02:00
K Muller
f71a39547f feat: ✨ add campaign / coupon entity + vo 2026-10-02 12:47:27 +02:00
K Muller
b4d45ec716 feat: 🔨 on the campaign entity/type 2026-10-02 12:47:27 +02:00
Corentin Huet
dbcaa60dce feat: ✨ add unit tests for Coupon entity and associated value objects 2026-10-02 12:47:27 +02:00
Corentin Huet
5767011375 feat: ✨ create Coupon entity and associated VOs 2026-10-02 12:47:27 +02:00
K Muller
cdec541f92 fix: 🐛 change some file place + add tests 2026-10-02 12:47:27 +02:00
K Muller
680bc59d91 fix: 🐛 period changed namespace 2026-10-02 12:47:27 +02:00
K Muller
0f39559ff9 feat: ✨ add VO and Enums to works on Coupon/CampaignRequest 2026-10-02 12:47:26 +02:00
1576848aa1
feat(domain): add updatedAt tracking to Brand entity 2026-09-20 17:17:14 +02:00
741c7418ad
feat(domain): relocate and enhance domain value objects, exceptions, and ports 2026-09-20 17:17:08 +02:00