package com.style24.persistence.domain;

import java.util.Collection;

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

import lombok.Data;

/**
 * 룩북 도메인
 * @author bin2107
 * @since 2021-03-05
 */
@SuppressWarnings("serial")
@Data
public class Lookbook extends TscBaseDomain {
	private Integer lookbookSq;     //룩분일련번호
	private String brandCd;        //브랜드
	private String fyear;
	private String tyear;
	private String seasonStr;
	private String title;          //타이틀
	private String orgTnfileNm;    //원본썸네일명
	private String sysTnfileNm;    //시스템썸네일명
	private String newSysTnfileNm;
	private String dispStdt;       //전시시작일
	private String dispStTime;
	private String dispEddt;       //전시종료일
	private String dispEdTime;
	private String dispYn;         //표시여부
	private int dispOrd;        //표시순서
	private String mainDispYn;     //메인노출여부
	private String mode;			//신규,수정
	private String frontYn;

	private Integer lookbookbSq;	// 룩북배너일련번호
	private String orgFileNm;		// 원본파일명
	private String sysFileNm;		// 시스템파일명
	private String xlim;			// X좌표
	private String ylim;			// Y좌표

	Collection<LookbookGoods> lookbookGoodsList;	//베너별 상품목록

	private String goodsCd; 		// 상품상세검색용
	private String frontGb; 		// 상품상세검색용
	private String custGb; 			// 상품상세검색용
	private Integer custNo; 		// 상품상세검색용

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

	Collection<LookbookBanner> bannerList;	//베너 리스트

	private String brandNm;        //브랜드 이름

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

	private Integer	brandGroupNo;
	private String imgDesc;
	private String lookbookGb;

	// Pagination
	private TscPageRequest pageable;
	private int pageNo = 1;
	private int pageSize = 50;
	private int pageUnit = 10;

}
