package com.style24.persistence.domain;

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

import java.util.List;

/**
 * 카테고리 Domain
 *
 * @author bin2107
 * @since 2021. 1. 19
 */
@SuppressWarnings("serial")
@Data
public class CategoryGoods extends TscBaseDomain {

	private Integer cateNo;		// 카테고리번호
	private Integer selLvl;
	private String siteCd;
	private String cateGb;
	private String cate1No;
	private String cate2No;
	private String cate3No;
	private String cate4No;
	private String searchGb;
	private String contentsLoc;

	private int rnum;
	private String goodsCd;
	private String goodsTnm;
	private String goodsNm;
	private int dispOrd;
	private String goodsType;
	private Integer tagPrice;				// tag가
	private Integer listPrice;				// 정상가
	private Integer currPrice;				// 현재가
	private int dcRate;					// 할인율
	private String goodsStat;
	private String brandCd;
	private String supplyGoodsCd;
	private String styleYear;	//스타일연도
	private String formalGb;

	private int stockQty;
	private int currStockQty;

	private String mode;
	private String addCateNo;
	private Integer cateCd;
	private String changeGb;
	List<CategoryGoods> goodsList;

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

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

	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private int[] dispOrdArr;

	private String callBackFun;	// 콜백함수
	private String imgPath1;
	private String goodsAddYn;

	private String brandGroupNo;
	private int stockQtySum;
	private String brandGrpNm;
	private String regNm;

	private String dispUseGb;

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

}
