package com.zioinfo.mall.subscription;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/** 정기구독 (mall_subscription). 주간/격주/월간. */
@Data
public class MallSubscription {
    private Long id;
    private String owner;
    private Long storeId;
    private Long productId;
    private String sizeCode;
    private String frequency;       // WEEKLY / BIWEEKLY / MONTHLY
    private String deliveryZip;
    private String address;
    private String receiverName;
    private String receiverPhone;
    private LocalDate nextDeliveryDate;
    private String status;          // ACTIVE / PAUSED / CANCELLED
    private BigDecimal price;
    private LocalDateTime createdAt;
}
