package com.zioinfo.cms.banner;

import lombok.Data;
import java.time.LocalDateTime;

/** 배너/프로모션/기획전/팝업 (cms_banner). */
@Data
public class CmsBanner {
    private Long id;
    private String name;
    private String bannerType;      // HERO, PROMOTION, POPUP, CAMPAIGN, EXHIBITION
    private String imageUrl;
    private String linkUrl;
    private String position;        // MAIN_TOP, SIDEBAR, FOOTER ...
    private String targetRule;      // JSONB: 타겟팅 규칙(세그먼트/지역)
    private Integer sortOrder;
    private boolean active;
    private LocalDateTime startAt;
    private LocalDateTime endAt;
    private String createdBy;
    private LocalDateTime createdAt;
}
