package com.style24.persistence.domain;

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

import java.util.Collection;
import java.util.List;

@SuppressWarnings("serial")
@Data
public class Contents extends TscBaseDomain {
    private Integer preContentsSq;
    private Integer contentsSq;
    private Integer cateNo;
    private String contentsLoc;
    private String contentsType;
    private String dispStdt;
    private String dispEddt;
    private int dispOrd;
    private String contentsYn;
    private String imgPath1;
    private String imgPath2;
    private String imgPath3;
    private String imgPath4;
    private String imgPath5;
    private String imgPath6;
    private String imgPath7;
    private String imgPath8;
    private String strVar1;
    private String strVar2;
    private String strVar3;
    private String strVar4;
    private String strVar5;
    private String strVar6;
    private String strVar7;
    private String strVar8;
    private String strTitle1;
    private String strTitle2;
    private String strTitle3;
    private String strTitle4;
    private String subText1;
    private String subText2;
    private String subText3;
    private String subText4;
    private String brandGroupNo;
    private String brandGroupImg;
    private String mdTitle;
    private String useYn;
    private String contentsTitle;
    private String html;

    private String multiContentsYn;

    private String goodsCd;
    private String goodsNm;
    private String goodsImg;
    private String goodsCdList;
    private String goodsNmList;
    private String goodsImgList;

    List<Contents> dataList;
    //List<BrandGroup> brandGroupList;

    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    private String[] contentsLocArr;
    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    private String[] newImgFileArr;
    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    private String[] goodsCdArr;
    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    private String[] goodsNmArr;
    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    private String[] goodsImgArr;
    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    private String[] goodsDispOrdArr;

    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    private String[] brandGroup1Arr;
    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    private String[] brandGroup2Arr;
    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    private String[] brandGroup3Arr;

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

    private String group1Title;
    private String group1brandCd;
    private String group1brandNm;
    private String group1brandImg;
    private String group2Title;
    private String group2brandCd;
    private String group2brandNm;
    private String group2brandImg;
    private String group3Title;
    private String group3brandCd;
    private String group3brandNm;
    private String group3brandImg;

    Collection<Goods> contentsGoodsList;	//상품목록
}
