package com.style24.persistence.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.style24.persistence.TscBaseDomain;
import lombok.Data;

import java.util.List;

/**
 * 선착순 쿠폰 도메인
 * @author bin2107
 * @since 2021-02-04
 */
@SuppressWarnings("serial")
@Data
public class CouponLimitedTime extends TscBaseDomain {
    // TB_COUPON_REFVAL
    private Integer cpnId;				// 쿠폰ID
    private Integer limitCpnId;         // 선착순쿠폰일련번호
    private String  limitCpnNm;         // 선착순쿠폰명
    private int     downLimitQty;       // 다운로드가능수량
    private String  downStdt;           // 다운로드시작일시
    private String  downEddt;           // 다운로드종료일시

    private String downStDate;
    private String downEdDate;
    private String downStTime;
    private String downEdTime;

    private String  delYn;              // 삭제여부

    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    private String[] arrLimitCpnId;

}
