package cn.superdesk.uniorder.dto.vo.invoice.supplier;

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

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

/**
 * @Description: resultMap -> DzGoodsResultMap
 * <p>
 * select -> getStatementOfAccountDimOrder2GoodsList
 * 用于 供应商发票申请 基于 对账单Sn 来返回 对账单 商品数据 弃用 mark by 20201103 linjinyu
 * @Author: linjinyu
 * @CreateDate: 7/13/20 3:04 PM
 * @UpdateUser: linjinyu
 * @UpdateDate: 7/13/20 3:04 PM
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@Data
public class InvoiceApplySupplierSelectGoodsVo implements Serializable {

	private static final long serialVersionUID = -5332656371471369119L;

	private Long   accountingOrderId;
	private String accountingOrderSn;

	private Long   unifiedOrderId;
	private String orderSn;

	// 订单商品表 UnifiedOrderGoods.id 非商品ID goodsId 已修正
	private Long unifiedOrderGoodsId;
	private Long goodsId;
	private Long outSnapshotOrderGoodsId;

	@ApiModelProperty("商品名称")
	private String goodsName;
	@ApiModelProperty("商品别名")
	private String goodsAlias;

	@ApiModelProperty("商品数量")
	private Integer    quantity;
	@ApiModelProperty("商品销售价")
	private BigDecimal price;
	private String     priceFormat;
	@ApiModelProperty("商品成本价")
	private BigDecimal costPrice;
	private String     costPriceFormat;
	@ApiModelProperty("单位")
	private String     unit;


	// 弃用 与彩娇对过 这个是不需要 mark by 20201103 linjinyu
	//	private String goodsParams;


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

	@ApiModelProperty("商户税率 税率 取值范围(0-100)% eg : 16 代表 16% decimal(6,2) 20210413")
	private BigDecimal merchTaxRate;
	@ApiModelProperty("商户税率 编码")
	private String     merchTaxCode;
	@ApiModelProperty("商户税率 ID")
	private Long       merchTaxId;

	@ApiModelProperty("平台税率 税率 取值范围(0-100)% eg : 16 代表 16% decimal(6,2) 20210413")
	private BigDecimal operationTaxRate;
	@ApiModelProperty("平台税率 编码")
	private String     operationTaxCode;
	@ApiModelProperty("平台税率 ID")
	private Long       operationTaxId;


}
