쿠폰함 구현 및 GoodProperties 설계 논의 (Day 134)

Source

  • Field Notes/ReturnZero/Daily Notes/Day 134. 2021-11-11.md

Summary

쿠폰함(Coupon Function) 구현을 진행 중이며, GoodProperties의 설계 방향(신규 생성 vs 기존 ItemProperties 확장)에 대해 고민하고 있다. Neal과 논의하여 CouponRedeem의 GoodProperties를 제거하고 PlanStartAt/PlanEndAt을 신설하기로 했으며, 브릿지 패턴 적용과 공통 함수 추상화를 위한 작업이 필요하다.

Key Points

  • 쿠폰함 구현 진행 중 (ActivateCoupon 작업)
  • GoodProperties 설계 변경: 기존 ItemProperties 확장 대신 Neal과 논의 후 GoodProperties 제거 및 PlanStartAt, PlanEndAt 신설
  • 브릿지 패턴(Bridge Pattern) 적용 고려 및 공통 함수 추상화 필요
  • Admin JSON 데이터 미확인 상태