package com.swfarm.biz.chain.bo.cnowapi;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class CnowOrder {

	private Long id;
	
	private String order_code;

	private String reference_no;

	private String platform;

	private String order_status;

	private String shipping_method;

	private String tracking_no;

	private String warehouse_code;

	private Double order_weight;

	private String order_desc;

	private Date date_create;

	private Date date_release;

	private Date date_shipping;

	private Date date_modify;

	private String consignee_country_code;

	private String consignee_country_name;

	private String consignee_state;

	private String consignee_city;

	private String consignee_district;

	private String consignee_address1;

	private String consignee_address2;

	private String consignee_address3;

	private String consigne_zipcode;

	private String consignee_doorplate;

	private String consignee_company;

	private String consignee_name;

	private String consignee_phone;

	private String consignee_email;

	private Double totalFee;
	
	private Double SHIPPING;
	
	private Double OPF;
	
	private Double FSC;
	
	private Double DT;
	
	private Double RSF;
	
	private Double WHF;
	
	private Double OTF;
	
	private Set<SkuItem> items = new HashSet<SkuItem>();

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrder_code() {
		return order_code;
	}

	public void setOrder_code(String orderCode) {
		order_code = orderCode;
	}

	public String getReference_no() {
		return reference_no;
	}

	public void setReference_no(String referenceNo) {
		reference_no = referenceNo;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

	public String getOrder_status() {
		return order_status;
	}

	public void setOrder_status(String orderStatus) {
		order_status = orderStatus;
	}

	public String getShipping_method() {
		return shipping_method;
	}

	public void setShipping_method(String shippingMethod) {
		shipping_method = shippingMethod;
	}

	public String getTracking_no() {
		return tracking_no;
	}

	public void setTracking_no(String trackingNo) {
		tracking_no = trackingNo;
	}

	public String getWarehouse_code() {
		return warehouse_code;
	}

	public void setWarehouse_code(String warehouseCode) {
		warehouse_code = warehouseCode;
	}

	public Double getOrder_weight() {
		return order_weight;
	}

	public void setOrder_weight(Double orderWeight) {
		order_weight = orderWeight;
	}

	public String getOrder_desc() {
		return order_desc;
	}

	public void setOrder_desc(String orderDesc) {
		order_desc = orderDesc;
	}

	public Date getDate_create() {
		return date_create;
	}

	public void setDate_create(Date dateCreate) {
		date_create = dateCreate;
	}

	public Date getDate_release() {
		return date_release;
	}

	public void setDate_release(Date dateRelease) {
		date_release = dateRelease;
	}

	public Date getDate_shipping() {
		return date_shipping;
	}

	public void setDate_shipping(Date dateShipping) {
		date_shipping = dateShipping;
	}

	public Date getDate_modify() {
		return date_modify;
	}

	public void setDate_modify(Date dateModify) {
		date_modify = dateModify;
	}

	public String getConsignee_country_code() {
		return consignee_country_code;
	}

	public void setConsignee_country_code(String consigneeCountryCode) {
		consignee_country_code = consigneeCountryCode;
	}

	public String getConsignee_country_name() {
		return consignee_country_name;
	}

	public void setConsignee_country_name(String consigneeCountryName) {
		consignee_country_name = consigneeCountryName;
	}

	public String getConsignee_state() {
		return consignee_state;
	}

	public void setConsignee_state(String consigneeState) {
		consignee_state = consigneeState;
	}

	public String getConsignee_city() {
		return consignee_city;
	}

	public void setConsignee_city(String consigneeCity) {
		consignee_city = consigneeCity;
	}

	public String getConsignee_district() {
		return consignee_district;
	}

	public void setConsignee_district(String consigneeDistrict) {
		consignee_district = consigneeDistrict;
	}

	public String getConsignee_address1() {
		return consignee_address1;
	}

	public void setConsignee_address1(String consigneeAddress1) {
		consignee_address1 = consigneeAddress1;
	}

	public String getConsignee_address2() {
		return consignee_address2;
	}

	public void setConsignee_address2(String consigneeAddress2) {
		consignee_address2 = consigneeAddress2;
	}

	public String getConsignee_address3() {
		return consignee_address3;
	}

	public void setConsignee_address3(String consigneeAddress3) {
		consignee_address3 = consigneeAddress3;
	}

	public String getConsigne_zipcode() {
		return consigne_zipcode;
	}

	public void setConsigne_zipcode(String consigneZipcode) {
		consigne_zipcode = consigneZipcode;
	}

	public String getConsignee_doorplate() {
		return consignee_doorplate;
	}

	public void setConsignee_doorplate(String consigneeDoorplate) {
		consignee_doorplate = consigneeDoorplate;
	}

	public String getConsignee_company() {
		return consignee_company;
	}

	public void setConsignee_company(String consigneeCompany) {
		consignee_company = consigneeCompany;
	}

	public String getConsignee_name() {
		return consignee_name;
	}

	public void setConsignee_name(String consigneeName) {
		consignee_name = consigneeName;
	}

	public String getConsignee_phone() {
		return consignee_phone;
	}

	public void setConsignee_phone(String consigneePhone) {
		consignee_phone = consigneePhone;
	}

	public String getConsignee_email() {
		return consignee_email;
	}

	public void setConsignee_email(String consigneeEmail) {
		consignee_email = consigneeEmail;
	}

	public Set<SkuItem> getItems() {
		return items;
	}

	public void setItems(Set<SkuItem> items) {
		this.items = items;
	}

	public void addSkuItem(SkuItem skuItem) {
		if (!items.contains(skuItem)) {
			items.add(skuItem);
		}
	}
	
	public void removeSkuItem(SkuItem skuItem) {
		if (items.contains(skuItem)) {
			items.remove(skuItem);
		}
	}

	public Double getTotalFee() {
		return totalFee;
	}

	public void setTotalFee(Double totalFee) {
		this.totalFee = totalFee;
	}

	public Double getSHIPPING() {
		return SHIPPING;
	}

	public void setSHIPPING(Double sHIPPING) {
		SHIPPING = sHIPPING;
	}

	public Double getOPF() {
		return OPF;
	}

	public void setOPF(Double oPF) {
		OPF = oPF;
	}

	public Double getFSC() {
		return FSC;
	}

	public void setFSC(Double fSC) {
		FSC = fSC;
	}

	public Double getDT() {
		return DT;
	}

	public void setDT(Double dT) {
		DT = dT;
	}

	public Double getRSF() {
		return RSF;
	}

	public void setRSF(Double rSF) {
		RSF = rSF;
	}

	public Double getWHF() {
		return WHF;
	}

	public void setWHF(Double wHF) {
		WHF = wHF;
	}

	public Double getOTF() {
		return OTF;
	}

	public void setOTF(Double oTF) {
		OTF = oTF;
	}

}
