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 2021. 07. 09
 */
@SuppressWarnings("serial")
@Data
public class GoodsSupplyPrice extends TscBaseDomain {

	private Integer goodsSupplyPriceSq;
	private String goodsCd;
	private int supplyGoodsPrice;
	private float supplySellFeeRate;
	private String cfrmYn;
	private int cfrmNo;
	private String cfrmDt;

	private String cfrmNm;

	private String goodsNm;
	private String supplyGoodsCd;
	private String goodsStat;
	private String supplyCompCd;
	private String supplyCompNm;
	private String brandCd;
	private String brandEnm;
	private int listPrice;
	private int currPrice;
	private String dateGbn;
	private String stDate;
	private String edDate;
	private String confirmY;
	private Float goodsSellFeeRate;
	private String goodsPriceYn;
	private String brandList;
	private String supplyCompList;
	private String search; // 키워드 종류
	private String condition; // 키워드 종류별 값
	
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] arrGoodsCd;

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

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

	/* Multi CheckBox 항목*/
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] multiBrand;

	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] multiSupplyComp;
	// Pagination
	private TscPageRequest pageable;
	private int pageNo = 1;
	private int pageSize = 50;
	private int pageUnit = 10;

}
