package com.style24.persistence.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.style24.persistence.TscBaseDomain;
import com.style24.persistence.TscPageRequest;

import lombok.Data;

/**
 * 팝업 도메인
 * @author bin2107
 * @since 2021-03-03
 */
@SuppressWarnings("serial")
@Data
public class Popup extends TscBaseDomain {
    private Integer popupSq;
    private String  siteCd;
    private String  frontGb;
    private String  popupGb;
    private String  imgUrl1;
    private String  imgUrl2;
    private String  imgUrl3;
    private String  imgUrl4;
    private String  imgUrl5;
    private String  linkUrl1;
    private String  linkUrl2;
    private String  linkUrl3;
    private String  linkUrl4;
    private String  linkUrl5;
    private String  viewPage;
    private Integer cateNo;
    private String  brandCd;
    private Integer planSq;
    private String  dispStdt;
    private String  dispStTime;
    private String  dispEddt;
    private String  dispEdTime;
    private Integer topLoc;
    private Integer leftLoc;
    private Integer popupWidth;
    private Integer popupHeight;
    private Integer unexpDays;
    private String linkTarget;
    private int     dispOrd;
    private String  useYn;
    private String  displayYn;
    private String  newImgFileNm1;
    private String  newImgFileNm2;
    private String  newImgFileNm3;
    private String  newImgFileNm4;
    private String  newImgFileNm5;
    private String  orgFileNm;
    private String  sysFileNm;
    private String  newSysFileNm;
    private String  viewPageNm;

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

    // Pagination
    private TscPageRequest pageable;
    private int pageNo = 1;
    private int pageSize = 50;
    private int pageUnit = 10;
    
    
	private String preview = "N";
	private String viewDt;
	
	
}
