Commit graph

43 commits

Author SHA1 Message Date
Alexis Gousseau
d75f132ee1
fix: 🚚 renaming classes that do not belong directly to Coupons 2026-10-13 16:13:01 +02:00
Alexis Gousseau
c3a3d1cb83 Merge branch 'coupon-list' into 'coupon'
feat: ✨ add ListCoupons Use Case and tests

See merge request ldc-web/projets/mesbr!58
2026-10-13 16:06:55 +02:00
Alexis Gousseau
5c6c1b1222
feat: ✨ add ListCoupons Use Case and tests 2026-10-13 16:04:10 +02:00
Corentin Huet
e4a0ad5b73 fix: 🐛 restrict processing code to 13 digits 2026-10-13 15:56:11 +02:00
Alexis Gousseau
5a3815579d
test: ✅ cover country rules in coupon use case and value objects 2026-10-13 11:34:05 +02:00
Alexis Gousseau
fdbde84728
refactor: ♻️ update coupon Entity and related VO 2026-10-12 17:07:56 +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
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
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
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
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
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
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
741c7418ad
feat(domain): relocate and enhance domain value objects, exceptions, and ports 2026-09-20 17:17:08 +02:00
Alexis Gousseau
c79fe7d20b
fix: 🐛 sprint review reports for Brand processed 2026-09-15 18:12:03 +02:00
Alexis Gousseau
9b4a1934ff
feat: ✨ epic 1 (brand management) + tests 2026-09-15 09:24:18 +02:00
Alexis Gousseau
27cdac86cb
feat: 🎉 base DDD project 2026-09-08 16:33:54 +02:00