Files
usdt/luqj-custom/src/main/java/com/ruoyi/custom/domain/CustomOrderItemPlus.java
T
2025-12-02 23:07:47 +08:00

403 lines
10 KiB
Java

package com.ruoyi.custom.domain;
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableName;
/**
* 备案订单项对象 custom_order_item
*
* @author luqj
* @date 2021-10-23
*/
@TableName(value = "custom_order_item")
public class CustomOrderItemPlus implements Serializable
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Long id;
/** $column.columnComment */
@Excel(name = "净重")
private Long orderId;
/** 口岸Id */
@Excel(name = "口岸Id")
private Long declarePortId;
/** 仓库Id */
@Excel(name = "仓库Id")
private Long warehouseId;
/** 商品条形码 */
@Excel(name = "商品条形码")
private String barCode;
/** 数量 */
@Excel(name = "数量")
private Integer quantity;
/** 单价 */
@Excel(name = "单价")
private BigDecimal price;
/** 商城单价 */
@Excel(name = "商城单价")
private BigDecimal shopPrice;
/** 运费 */
@Excel(name = "运费")
private BigDecimal freight;
/** $column.columnComment */
@Excel(name = "运费")
private BigDecimal taxAmount;
/** 商品链接 */
@Excel(name = "商品链接")
private String itemLink;
/** 账(手)册商品序号 */
@Excel(name = "账(手)册商品序号")
private String bookNumber;
/** 商品货号 */
@Excel(name = "商品货号")
private String productCode;
/** 名称 */
@Excel(name = "名称")
private String name;
/** 品牌 */
@Excel(name = "品牌")
private String brand;
/** 规格型号 */
@Excel(name = "规格型号")
private String specificationModel;
/** 商品描述 */
@Excel(name = "商品描述")
private String description;
/** 数量单位 */
@Excel(name = "数量单位")
private String quantityUnit;
/** 生产国 */
@Excel(name = "生产国")
private String produceCountry;
/** 检验检疫编码 */
@Excel(name = "检验检疫编码")
private String inspectionAndQuarantineCode;
/** HS编码 */
@Excel(name = "HS编码")
private String hsCode;
/** 税率 */
@Excel(name = "税率")
private BigDecimal taxRate;
/** 申报数量(法定数量=申报数量*购买数量) */
@Excel(name = "申报数量", readConverterExp = "法=定数量=申报数量*购买数量")
private BigDecimal declaredCount;
/** 法定计量单位 */
@Excel(name = "法定计量单位")
private String legalMeteringUnit;
/** 第二申报数量(第二数量=第二申报数量*购买数量) */
@Excel(name = "第二申报数量", readConverterExp = "第=二数量=第二申报数量*购买数量")
private BigDecimal secondDeclaredCount;
/** 第二计量单位 */
@Excel(name = "第二计量单位")
private String secondMeteringUnit;
/** 毛重 */
@Excel(name = "毛重")
private BigDecimal grossWeight;
/** 净重 */
@Excel(name = "净重")
private BigDecimal netWeight;
/** skucode */
@Excel(name = "skucode")
private String skuCode;
public void setId(Long id)
{
this.id = id;
}
public String getSkuCode() {
return skuCode;
}
public void setSkuCode(String skuCode) {
this.skuCode = skuCode;
}
public Long getId()
{
return id;
}
public void setOrderId(Long orderId)
{
this.orderId = orderId;
}
public Long getOrderId()
{
return orderId;
}
public void setDeclarePortId(Long declarePortId)
{
this.declarePortId = declarePortId;
}
public Long getDeclarePortId()
{
return declarePortId;
}
public void setWarehouseId(Long warehouseId)
{
this.warehouseId = warehouseId;
}
public Long getWarehouseId()
{
return warehouseId;
}
public void setBarCode(String barCode)
{
this.barCode = barCode;
}
public String getBarCode()
{
return barCode;
}
public void setQuantity(Integer quantity)
{
this.quantity = quantity;
}
public Integer getQuantity()
{
return quantity;
}
public void setPrice(BigDecimal price)
{
this.price = price;
}
public BigDecimal getPrice()
{
return price;
}
public void setShopPrice(BigDecimal shopPrice)
{
this.shopPrice = shopPrice;
}
public BigDecimal getShopPrice()
{
return shopPrice;
}
public void setFreight(BigDecimal freight)
{
this.freight = freight;
}
public BigDecimal getFreight()
{
return freight;
}
public void setTaxAmount(BigDecimal taxAmount)
{
this.taxAmount = taxAmount;
}
public BigDecimal getTaxAmount()
{
return taxAmount;
}
public void setItemLink(String itemLink)
{
this.itemLink = itemLink;
}
public String getItemLink()
{
return itemLink;
}
public void setBookNumber(String bookNumber)
{
this.bookNumber = bookNumber;
}
public String getBookNumber()
{
return bookNumber;
}
public void setProductCode(String productCode)
{
this.productCode = productCode;
}
public String getProductCode()
{
return productCode;
}
public void setName(String name)
{
this.name = name;
}
public String getName()
{
return name;
}
public void setBrand(String brand)
{
this.brand = brand;
}
public String getBrand()
{
return brand;
}
public void setSpecificationModel(String specificationModel)
{
this.specificationModel = specificationModel;
}
public String getSpecificationModel()
{
return specificationModel;
}
public void setDescription(String description)
{
this.description = description;
}
public String getDescription()
{
return description;
}
public void setQuantityUnit(String quantityUnit)
{
this.quantityUnit = quantityUnit;
}
public String getQuantityUnit()
{
return quantityUnit;
}
public void setProduceCountry(String produceCountry)
{
this.produceCountry = produceCountry;
}
public String getProduceCountry()
{
return produceCountry;
}
public void setInspectionAndQuarantineCode(String inspectionAndQuarantineCode)
{
this.inspectionAndQuarantineCode = inspectionAndQuarantineCode;
}
public String getInspectionAndQuarantineCode()
{
return inspectionAndQuarantineCode;
}
public void setHsCode(String hsCode)
{
this.hsCode = hsCode;
}
public String getHsCode()
{
return hsCode;
}
public void setTaxRate(BigDecimal taxRate)
{
this.taxRate = taxRate;
}
public BigDecimal getTaxRate()
{
return taxRate;
}
public void setDeclaredCount(BigDecimal declaredCount)
{
this.declaredCount = declaredCount;
}
public BigDecimal getDeclaredCount()
{
return declaredCount;
}
public void setLegalMeteringUnit(String legalMeteringUnit)
{
this.legalMeteringUnit = legalMeteringUnit;
}
public String getLegalMeteringUnit()
{
return legalMeteringUnit;
}
public void setSecondDeclaredCount(BigDecimal secondDeclaredCount)
{
this.secondDeclaredCount = secondDeclaredCount;
}
public BigDecimal getSecondDeclaredCount()
{
return secondDeclaredCount;
}
public void setSecondMeteringUnit(String secondMeteringUnit)
{
this.secondMeteringUnit = secondMeteringUnit;
}
public String getSecondMeteringUnit()
{
return secondMeteringUnit;
}
public void setGrossWeight(BigDecimal grossWeight)
{
this.grossWeight = grossWeight;
}
public BigDecimal getGrossWeight()
{
return grossWeight;
}
public void setNetWeight(BigDecimal netWeight)
{
this.netWeight = netWeight;
}
public BigDecimal getNetWeight()
{
return netWeight;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("orderId", getOrderId())
.append("declarePortId", getDeclarePortId())
.append("warehouseId", getWarehouseId())
.append("barCode", getBarCode())
.append("quantity", getQuantity())
.append("price", getPrice())
.append("shopPrice", getShopPrice())
.append("freight", getFreight())
.append("taxAmount", getTaxAmount())
.append("itemLink", getItemLink())
.append("bookNumber", getBookNumber())
.append("productCode", getProductCode())
.append("name", getName())
.append("brand", getBrand())
.append("specificationModel", getSpecificationModel())
.append("description", getDescription())
.append("quantityUnit", getQuantityUnit())
.append("produceCountry", getProduceCountry())
.append("inspectionAndQuarantineCode", getInspectionAndQuarantineCode())
.append("hsCode", getHsCode())
.append("taxRate", getTaxRate())
.append("declaredCount", getDeclaredCount())
.append("legalMeteringUnit", getLegalMeteringUnit())
.append("secondDeclaredCount", getSecondDeclaredCount())
.append("secondMeteringUnit", getSecondMeteringUnit())
.append("grossWeight", getGrossWeight())
.append("netWeight", getNetWeight())
.toString();
}
}