package cn.superdesk.uniorder.dto.vo.accounting.unified.supplier;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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


/**
 * @Description: ResultMap 用于承载 供应商 对账单X订单
 * 引用 : public List<AccountingUnifiedSuplierCheckAmountErrorForFixDimOrder> checkAmountErrorForFixDimGoods(Map<String, Object> params)
 * @Author: linjinyu
 * @CreateDate: 2020/11/2 下午1:12
 * @UpdateUser: linjinyu
 * @UpdateDate: 2020/11/2 下午1:12
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@Data
public class AccountingOrderUnifiedSuplierCheckAmountErrorForFixDimOrder implements Serializable {


	//<!-- ausxg.id,-->
//<id column="accounting_unified_supplier_x_good_id" jdbcType="BIGINT" property="accountingUnifiedSupplierXGoodsId" />
	private Long   accountingUnifiedSupplierXOrderId;
	//<!-- 对账单Id ausxg.accounting_order_id -->
//<result column="accounting_order_id" jdbcType="BIGINT" property="accountingOrderId" />
	private Long   accountingOrderId;
	//<!-- 对账单Sn ausxg.accounting_order_sn -->
//<result column="accounting_order_sn" jdbcType="VARCHAR" property="accountingOrderSn" />
	private String accountingOrderSn;
	//<!-- 统一订单id -->
//<result column="unified_order_id" jdbcType="BIGINT" property="unifiedOrderId" />
	private Long   unifiedOrderId;
	//<!-- 订单编号 -->
//<result column="order_sn" jdbcType="VARCHAR" property="orderSn" />
	private String orderSn;
	//<!-- 统一订单商品Id -->
//<result column="unified_order_goods_id" jdbcType="BIGINT" property="unifiedOrderGoodsId" />
	private Long   unifiedOrderGoodsId;
	//<!-- 第三方商城的商品表Id -->
//<result column="goods_id" jdbcType="BIGINT" property="goodsId" />
	private Long   goodsId;
	//<!-- 第三方商城的订单的商品快照Id -->
//<result column="out_snapshot_order_goods_id" jdbcType="BIGINT" property="outSnapshotOrderGoodsId" />
	private Long   outSnapshotOrderGoodsId;
	//<!-- 统一订单流水Id,目前维度是没有用的 -->
//<result column="unified_order_credit_id" jdbcType="BIGINT" property="unifiedOrderCreditId" />
	private Long   unifiedOrderCreditId;


	//<!-- uog.goods_name,-->
//<result column="goods_name" property="goodsName" jdbcType="VARCHAR"/>
	private String     goodsName;
	private String     goodsAlias;
	//<!-- uog.price,-->
//<result column="price" property="price" jdbcType="DECIMAL"/>
	private BigDecimal price;
	//<!-- uog.cost_price,-->
//<result column="cost_price" property="costPrice" jdbcType="DECIMAL"/>
	private BigDecimal costPrice;
	//<!-- uog.quantity,-->
//<result column="quantity" property="quantity" jdbcType="INTEGER"/>
	private Integer    quantity;

	private String unit;

	@ApiModelProperty("财务编码")
	private String     fiscalCode;
	@ApiModelProperty("老版税率 税率 取值范围(0-100)% eg : 16 代表 16%")
	private BigDecimal taxRate;
	@ApiModelProperty("老版税率 编码")
	private String     taxCode;

	@ApiModelProperty("商户税率 税率")
	private BigDecimal merchTaxRate;
	@ApiModelProperty("商户税率 编码")
	private String     merchTaxCode;
	@ApiModelProperty("商户税率 ID")
	private Long       merchTaxId;

	@ApiModelProperty("平台税率 税率")
	private BigDecimal operationTaxRate;
	@ApiModelProperty("平台税率 编码")
	private String     operationTaxCode;
	@ApiModelProperty("平台税率 ID")
	private Long       operationTaxId;

	//<!-- uog.direction-->
//<result column="direction" property="direction" jdbcType="TINYINT"/>
	private Integer direction;


}
