package com.style24.persistence.domain;

import java.util.Collection;

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

import lombok.Data;

/**
 * 주문 샘플 Domain
 *
 * @author card007
 * @since 2021. 01. 30
 */
@SuppressWarnings("serial")
@Data
public class OrderSample extends TscBaseDomain {

	private int ordNo;
	private int ordDtlNo;
	private int ordDtlItemSq;
	private int delvAddrSq;
	private int paySq;
	private int custNo;
	private String ordNm;
	private String ordPhnno;
	private String ordTelno;
	private String ordEmail;
	private String recipZipcode;
	private String recipBaseAddr;
	private String recipDtlAddr;
	private String optCd2;
	private int ordQty;
	private String delvFeeGb;
	private String delvFeeCd;
	private int delvFeeSq;
	private String ordDtlStat;

	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	private Collection<OrderSampleGoods> goods;

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

	private int no;
	private String sysImgNm;
	private String goodsCd;
	private String compsGoodsCd;
	private String goodsNm;
	private String optCd;
	private int stockQtySum;
	private String goodsStat;
	private String styleYear;
	private String seasonCd;
	private int listPrice;
	private int currPrice;
	private String priceUpdDt;
	private String erpStockLinkYn;
	private String formalGb;
	private String returnableYn;
	private String regDt;
	private String regNm;
	private String updDt;
	private String updNm;
}
