package com.style24.persistence.domain;

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

import lombok.Data;

/**
 * 주문 Domain
 *
 * @author jsh77b
 * @since 2020. 11. 16
 */
@SuppressWarnings("serial")
@Data
public class Order extends TscBaseDomain {
	
	// 주문마스터
	private int ordNo;
	private String mallGb;
	private String ordDt;
	private String payDt;
	private int custNo;
	private String ordNm;
	private String ord_phnno;
	private String ord_telno;
	private String ord_email;
	private String siteCd;
	private int npayOrdNo;
	private String frontGb;
	
	// 주문상세
	private int ordDtlNo;
	private String ordExchGb;
	private String ordDtlStat;
	private int orgOrdDtlNo;
	private String supplyCompCd;
	private String goodsCd;
	private String formalGb;
	private String goodsType;
	private int listPrice;
	private int currPrice;
	private double dcRate;
	private int optAddPrice;
	private int ordQty;
	private int ordAmt;
	private int cnclRtnQty;
	private int cnclRtnAmt;
	private int cpn1CpnSq;
	private int cpn1DcAmt;
	private int tmtb1Sq;
	private int tmtb1DcAmt;
	private int tmtb2Sq;
	private int tmtb2DcAmt;
	private int goodsCpnSq;
	private int goodsCpnDcAmt;
	private int cartCpnSq;
	private int cartCpnDcAmt;
	
	private int pntDcAmt;
	private int prePntDcAmt;
	private int savePntAmt;
	
	private int realOrdAmt;
	private String venderId;
	private String extmallId;
	private String agentOrderId;
	private String extmallOrderId;
	private String changeableYn;
	private String changeFeeFreeYn;
	private String returnableYn;
	private String returnFeeFreeYn;
	
	private String soldoutYn;
	private String soldoutMemo;
	private String soldoutRegNo;
	private String soldoutRegDt;
	private int delvAddrSq;
	private String shotDelvYn;
	private String giftPackYn;
	
	private String delvLocCd;
	private String delvAssigngDt;
	private String delvAddignStat;
	private String dstrbtMemo;
	private String delvStdt;
	private String delvEddt;
	
	private String shipCompCd;
	private String invoiceNo;
	private String invoiceSendYn;
	private String sellStoreCd;
	private double sellFeeRate;
	
	private String afLinkCd;
	private String ithrCd;
	private String contentsLoc;
	
	private int planDtlsq;
	private int socialSq;
	
	private String condition;
	private String[] conditions = null;
	
	private String stDate;
	private String edDate;
	private String searchDateGb;
	private String orderNm;
	private int custId;
	private String orderPhnno;
	private String vendorId;
	private String sizeCd;
	private String goodsNm;
	private String payMeans;
	private String chgStat;
	private String recipNm;
	private String chgGb;
	private String wdInvoiceSendYn;
	
	// 상품정보
	private String imgPath1;
	private String brandCd;
	private String optCd1;
	private String optCd2;
	private String goodsTypeNm;
	private String brandEnm;
	private String itemCd;
	private String goodsNum;
	private String gormalGb;
	private String supplyGoodsCd;
	
	private int totDcAmt;
	private String dateGbn;
	private String mallCd;
	private String search;
	
	/* 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[] multiOrdStat;

	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private String[] multiOrdDtlStat;
	
	private int sumOrdAmt;
	private int sumOrdCnclAmt;
	private int sumRealPayAmt;
	private int ordNoCnt;
	private int sumOrdQty;
	private int sumOrdCnclQty;
	
	private String excelFileNm;
	
	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private int[] ordNoList;
	
	private String delYn;
	private String recipPhnno;
	private String recipTelno;
	private String recipZipNo;
	private String recipBaseAddr;
	private String recipDtlAddr;
	private String ordEmail;
	private String delvMemo;
	
	private String escrowYn;
	private String payMeansNm;
	private String cardNm;
	private String vaBank;
	private String pgTradeNo;
	private String payStat;
	private String payStatNm;
	private int payAmt;
	private String vaDeadLine;
	
	private String delvFeeGb;
	private String delvFeeGbNm;
	private String delvUsacYn;
	private String delvUsacDt;
	private int delvFeeSq;
	
	private String coundelClsf;
	private String relGoodsCd;
	private String questTitle;
	private String questDt;
	private String ansDt;
	private int andNo;
	
	private int ordChgSq;
	private String chgGbNm;
	private String chgStatNm;
	private String chgReason;
	private String chgReasonNm;
	private String chgMemo;
	private String chgerNm;
	private String chgerPhnno;
	private String chgerZipNo;
	private String chgerBaseAddr;
	private String chgerDtlAddr;
	private String wdInvoiceNo;
	
	private String supplyCompNm;
	private String brandKnm;
	private String ordDtlStatNm;	
	private String ordPhnno;
}


























