package cn.superdesk.uniorder.dao.entity.base;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
public class UnifiedOrderReturnGoods implements Serializable {

	private Long id;

	private String returnSn;

	/**
	 * 退单号
	 */
	private String refundOrderSn;

	private String goodsName;

	/**
	 * 商品名称 别名
	 */
	private String goodsAlias;

	private Long goodsId;

	private Long outSnapshotOrderGoodsId;

	/**
	 * 商品类型:1-商品;2-运费;3-杂费;4-赠品;
	 */
	private Integer goodsType;

	private Integer quantity;

	/**
	 * 商品单位
	 */
	private String unit;

	private BigDecimal price;

	private BigDecimal costPrice;

	/**
	 * 财务编码
	 */
	private String fiscalCode;

	/**
	 * 税务编码
	 */
	private String taxCode;

	/**
	 * 税率%
	 */
	private BigDecimal taxRate;

	/**
	 * 商户税率ID-20210413-添加
	 */
	private Long merchTaxId;

	/**
	 * 商户税率编码-20210413-添加
	 */
	private String merchTaxCode;

	/**
	 * 商户税率-20210413-添加
	 */
	private BigDecimal merchTaxRate;

	/**
	 * 平台税率ID-20210413-添加
	 */
	private Long operationTaxId;

	/**
	 * 平台税率编码-20210413-添加
	 */
	private String operationTaxCode;

	/**
	 * 平台税率-20210413-添加
	 */
	private BigDecimal operationTaxRate;

	private Long cateIdLv1;

	private String cateNameLv1;

	private Long cateIdLv2;

	private String cateNameLv2;

	private Long cateIdLv3;

	/**
	 * 分类名称
	 */
	private String cateNameLv3;

	/**
	 * 商品规格 add at 20201028
	 */
	private String selfOption;

	private Integer direction;

	/**
	 * 客户对账锁定:0-正常;1-销定
	 */
	private Integer goodsLockingCustomer;

	/**
	 * 供应商对账锁定:0-正常;1-销定
	 */
	private Integer goodsLockingSupplier;

	/**
	 * 客户对账:1-已对账;2-未对账
	 */
	private Integer accountingStateCustomer;

	/**
	 * 供应商对账:1-已对账;2-未对账
	 */
	private Integer accountingStateSupplier;

	/**
	 * 0-未回款;1-已回款;
	 */
	private Integer backAccountStatus;

	private Date createTime;

	private Long createUserId;

	private Date updateTime;

	private Long updateUserId;

	private String goodsParams;

	private static final long serialVersionUID = 1L;
}