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;

/**
 * 상품 Domain
 *
 * @author moon
 * @since 2020. 11. 05
 */
@SuppressWarnings("serial")
@Data
public class Delivery extends TscBaseDomain {

	
	/* 아래로 작성 (.. ) ( ..) */
	
	private String brandCd;
	private String brandKnm;
	private String delvLocNm;
	private String imgType;
	private String imgPath1;
	private String goodsNm;
	private String goodsCd;
	private String sizeCd;
	private String goodsStat;
	private String delvBanStdt;
	private String delvBanEddt;   
	private String goodsStatNm;
	private String supplyCompCd;
	private String searchTxt;
	private String colorCd;
	private String sysImgNm;
	private String delvAddrNm;
	private String defaultYn;
	private String recipNm;
	private String recipTelno;
	private String recipPhnno;
	private String recipZipcode;
	private String recipBaseAddr;
	private String recipDtlAddr;
	private String delvMemo;
	private String delYn;
	private String goodsType;
	private String goodsTypeNm;
	private String sellStoreCd;
	private String sellStoreNm;
	private String mallGbNm;
	private String ordDtlStatNm;
	private String ordDtlStat;
	private String itemCd; 
	private String optCd1; 
	private String optCd2; 
	private String itemPrice; 	
	private String shipCompCd;
	private String invoiceNo;
	private String brandList;
	private String supplyCompList;
	private String delvLocClsf;
	private String siteCd;
	private String mallGb;
	private String orderNm;
	private String orderPhnno;
	private String search;
	private String condition;			// 키워드 검색
	private String delvLocCd;
	private String soldoutYn;
	private String termGb;
	private String stDate;
	private String edDate;
	private String stDate2;
	private String edDate2;
	private String stDate3;
	private String edDate3;
	private String ordDt;       	// 주문일시
	private String payDt;       	// 결제일시
	private String extmallId;   	// 외부몰
	private String optCd;       	// 옵션 
	private String ordExchGb; 	// 주문교환 
	private String siteNm;
	private String delvGb;
	private String delvGbNm;         // 지시구분명
	private String sendYn;           // 전송여부
	private String ordNm;            // 주문자명
	private String ordPhnno;         // 주문자휴대전화번호
	private String ordTelno;         // 주문자전화번호
	private String ordEmail;         // 주문자이메일
	private String extmallOrderId;
	private String delvAssignStat;
	private String mallNm;
	private String ordExchNm;
	private String extmallNm;
	private String useGb;
	private String formalGb; 
	private String delvArGb;
	private String vendorId;
	private String rejectReason;
	private String goodsGb;
	private String supplyCompNm;
	private String agentOrderId;
	private String productCode;
	private String shotDelvYn;    // 총알배송여부 
	private String pgGb;
	private String payMeans;
	private String bankCd;
	private String accountNm;
	private String accountNo;
	private String invcTracking;
	private String orgInvoiceNo;
	private String soldoutMemo;
	private String soldoutRegNo;
	
	
	private Integer ordDtlNo;
	private Integer ordNo;
	private Integer custNo;
	private Integer custDelvAddrSq;
	private Integer delvBanGoodsSq;
	private Integer productNo;
	private Integer delvAssignSq;
	private Integer delvAssignHstSq;
	
	private int delvDelayDays;
	private int ordQty; 		// 주문수량
	private int currStockQty; 	// 현재고
	private int baseStockQty; 	// 안전재고
	private int ordAmt; 		// 주문금액
	private int ordDtlQty;
	private int locQty;
	private int goodsLocSetCnt;
	private int goodsLocCnt;
	private int saleQty;
	private int itemQty; 
	private int currPrice;
	private int saleAmt;
	private int realOrdAmt;
	private int stockQty;
	
	private Double delvFeeRate;
	
	private String[] conditions = null;
	
	
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] multiOrdDtlStat = null;
	
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] multiBrand;
	
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] multiSupplyCompCd;
	
	private String pageingYn;

	// Pagination
	private int startRow;
	private int endRow;
	
	private TscPageRequest pageable;
	private int pageNo = 1;
	private int pageSize = 50;
	private int pageUnit = 10;
	
	private int exchangeDelvFailSq;
	private int ordChgSq;
	private String delvCnclYn;
	private String delvCnclYnNm;
	private int cnclRtnQty;
	private String delvFailReason;
	private String delvFeeCd;
	private String delvFeeCdGrp;
	
	
	
	
	

	
	
	 


	
	/* 위로  작성  ('' ) ( '')*/
	
	
	
	
	/* 아래는 참고용!!*/
	


	

//
//	
//	private String ordStat;
//
//	private String orderEmail;
//	private String colorKnm;
//
//	//private Integer ordQty;
//	private Integer cnclRtnQty;
//	private Integer saleQty;
//	private Integer saleAmt;
//	
//
//
//
//	private String sbagEncloseYn;
//
//
//	private String dstrbtNote;
//	private String ordExchGbNm;
//	
//	private String extmallOrdDtlNo;
//	private String supplyCompNm;
//	private String supplyGoodsCd;
////	private String ordExchGb;
//	private String frontGb;
//
//
//
//
//	private Long ordChgSq;
//	private String chgGb;
//	private String chgReason;
//	private String chgMemo;
//	private String chgerNm;
//	private String chgerPhnno;
//	private String chgerTelno;
//	private String chgerEmail;
//	private String chgerPostNo;
//	private String chgerBaseAddr;
//	private String chgerDtlAddr;
//	private Integer chgQty;
//	private String chgStat;
//	private String whMemo;
//	private Integer realOrdAmt;
//	private Integer cnclRtnAmt;
//	private Long orgOrdDtlNo;
//	private String vendorId;
//
//	//private String formalGb;
//	private String formalGbNm;
//	private String setYn;
//	private Integer tagPrice;
//	private Integer listPrice;
//	private Integer currPrice;
//	private Integer dcRate;
//	//private Integer ordAmt;
//	private Long goodsCpnSq;
//	private Integer goodsCpnDcAmt;
//	private Long cartCpnSq;
//	private Integer cartCpnDcAmt;
//	private Integer pntDcAmt;
//	private Integer prePntDcAmt;
//	private Integer savePntAmt;
//	private String agentOrderId;
//	private String exchangableYn;
//	private String exchangeFeeFreeYn;
//	private String returnableYn;
//	private String returnFeeFreeYn;
//	private String soldoutMemo;
//	private String soldoutRegId;
//	private String soldoutRegDt;
//	private String delvAssignDt;
//	
//	private String delvStdt;
//	private String delvEddt;
//	private String shipCompNm;
//	private String invoiceSendYn;
//	private String sellFeeRate;
//	private String ithrCd;
//	private String contentsLoc;
//	private Integer paySq;
//	private Integer payAmt;
//	
//	private String payStat;
//	private String delvPayGb;
//	private String pgCnclTid;
//	
//	private String delvFeeGb;
//	private Integer delvFee;
//	private String usacGb;
//	private String prtnGb;
//	private String orgUsacGb;
//	private Integer sellQty;
//	private String sellGb;
//	private String workDay;
//	private Integer chasu;
//	
//	private String productId;
//
//
//	private String dasRecipStsCd;
//	private String dasRecipIngDt;
//	private String dasRecipCplDt;
//	private String dasWorkCplDt;
//	private Integer shipQty;
//	private String soldoutDt;
//	private String adminRecipYn;
//	private String adminRecipDt;
//	private String cncYn;
//	private String cncDt;
//	private String regStdt;
//	private String regEddt;
//	//private String extmallId;
//	private Integer stockQty;
//	//private Integer currStockQty;
//	//private Integer baseStockQty;
//
//	private Integer assignQty;
//	private String delvArId;
//	private String rejectReason;
//	private String chulgoQty;
//	private String ordExchGbYn;
//	private String payStDate;
//	private String payEdDate;
//
//	private String stDt;
//	private String edDt;
//
//	private String goodsGb;
//
//	private String colorGrpFile;
//	private Integer invoiceQty;
//
//	private String delayDt;
//	private String orgOrdDtlStat;
//
//	private String locCd;  //위치코드(물류로케이션)
//	private int dispOrd;  //표시순서
//	private String pickingNo;  //피킹번호
//	private int pickingQty;  //피킹수량
//	private String locGcd;  //위치그룹코드
//	private String updDt;  //수정일시
//	private String regDt;  //등록일시
//
//	private String cd;  //코드
//	private String cdNm;  //코드명
//
//	private String supplyCompSelfYn;
//	private Double delvFeeRate;
//	private int delvAddrSq;
//	private int outSeq;
//
//	private String applyStdtFrom;
//	private String applyStdtTo;
//	private String memoType;
//	private String refVal;
//
//	private String delvMemoSq;
//	private int baseAmt;
//	private String applyStdt;
//	private String applyStdthh;
//	private String applyStdtmm;
//	private String applyEddt;
//	private String applyEddthh;
//	private String applyEddtmm;
//	private int memoQty;
//	private String memo;
//	private String useYn;
//	private String brandCbs;
//
//	private String applySttmDip;
//	private String applyEdtmDip;
//
//
//
//	private String pResult;
//
//	private Long plusCpnSq;
//	private Integer plusCpnDcAmt; //플러스쿠폰할인금액 명칭바뀜 
//	private String erpCdCompany;
//	private String erpCdDepart;
//
//	private String ifNo;
//	private String ifGb;
//	private String styleCd;
//
//	private String chgReasonNm;
//
//	private String delvAssignOrd;
//
//	private String orderId;
//
//	private String custGb;
//	private String goodsNum;
//	private String cdCompany;
//	private String cdDepart;
//
//	private Integer orgOrdAmt;
//	private Integer orgGoodsCpnDcAmt;
//	private Integer orgCartCpnDcAmt;
//	private Integer orgPlusCpnDcAmt;
//	private Integer orgPntDcAmt;
//	private Integer orgPrePntDcAmt;
//	private Integer orgSavePntAmt;
//	private Integer orgRealOrdAmt;
//	private String outCdTrans;
//	private String outSongjang;
//	private String outResult;
//
//
//
//
//	private String regNm;
//
//	private String invoiceGb;
//	private String apiGb;
//	private String resultCd;
//	private String custOrdNo;
//	private String hstMemo;
//
//
//
//	
//	// 출고처 정보
//	private String delvAssignGrade;
//	private String stockApplRate;
//	private String delvLocZipcode;
//	private String delvLocBaseAddr;
//	private String delvLocDtlAddr;
//	private String rtnLocZipcode;
//	private String rtnLocBaseAddr;
//	private String rtnLocDtlAddr;
//	private String rtnLocTelno;
//	private String rtnLocNm;
//	private String invoicePrintType;
}
