package com.style24.persistence.domain;

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

import com.style24.persistence.TscPageRequest;
import lombok.Data;

/**
 * 상품별 카테고리 Domain
 * @author eskim
 * @since 2020. 10. 30
 */
@SuppressWarnings("serial")
@Data
public class GoodsCategory extends TscBaseDomain {

	private int startRow;
	private int endRow;
	private String fullCateNm;
	private String imgPath1;
	private String imgPath4;
	private String imgPath6;
	private String imgType;
	private String goodsCd;
	private String goodsNm;
	private int currStockQty;
	private int baseStockQty;
	private int dcRate;
	private String dcRateSt;
	private String dcRateEd;
	private int listPrice;
	private int currPrice;
	private String currPriceSt;
	private String currPriceEd;
	private int pntPrate;
	private String prePpntUsableYn;
	private int pntMrate;
	private String preMpntUsableYn;
	private String soldoutYn;
	private String erpStockLinkYn;
	private String formalGb;
	private String selfGoodsYn;
	private String mdId;
	private String supplyGoodsCd;
	private String supplyCompCd;
	private String brandEnm;
	private String brandGrpNm;
	private String brandCd;
	private String itemkindCd;
	private String colorEnm;
	private String goodsStat;
	private String siteCd;
	private String styleYear;
	private String seasonCd;
	private String changeableYn;
	private String returnableYn;
	private String returnFeeFreeYn;
	private String changeFeeFreeYn;
	private String stDate;
	private String edDate;
	private String dispYn;
	private String searchGb;
	private String cateCd;
	private String cateGb;
	private String cateType;
	private String cateCd1;
	private String cateCd2;
	private String cateCd3;
	private String cateCd4;
	private String cateCd5;

	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] cateCdArr;
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] cateCd1Arr;
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] cateCd2Arr;
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] cateCd3Arr;
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] cateCd4Arr;
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] cateCd5Arr;
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] cateGbArr;
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] cateTypeArr;

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

	private String goodsCds;

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