160 lines
3.6 KiB
Java
160 lines
3.6 KiB
Java
package com.ruoyi.custom.domain;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
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_parcel_number
|
|
*
|
|
* @author luqj
|
|
* @date 2021-10-23
|
|
*/
|
|
@TableName(value = "custom_parcel_number")
|
|
public class CustomParcelNumberPlus implements Serializable
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** $column.columnComment */
|
|
private Long id;
|
|
/** 行邮税号 */
|
|
@Excel(name = "行邮税号")
|
|
private String parcelNumber;
|
|
/** 品名及规格 */
|
|
@Excel(name = "品名及规格")
|
|
private String name;
|
|
/** 单位 */
|
|
@Excel(name = "单位")
|
|
private String unit;
|
|
/** 完税价格 */
|
|
@Excel(name = "完税价格")
|
|
private BigDecimal price;
|
|
/** 税率 */
|
|
@Excel(name = "税率")
|
|
private BigDecimal taxRate;
|
|
/** 税额 */
|
|
@Excel(name = "税额")
|
|
private BigDecimal taxAmount;
|
|
/** 备注 */
|
|
@Excel(name = "备注")
|
|
private String remark;
|
|
/** 添加时间 */
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
@Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
private Date addTime;
|
|
/** 更新时间 */
|
|
private Date updateTime;
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
public void setParcelNumber(String parcelNumber)
|
|
{
|
|
this.parcelNumber = parcelNumber;
|
|
}
|
|
|
|
public String getParcelNumber()
|
|
{
|
|
return parcelNumber;
|
|
}
|
|
public void setName(String name)
|
|
{
|
|
this.name = name;
|
|
}
|
|
|
|
public String getName()
|
|
{
|
|
return name;
|
|
}
|
|
public void setUnit(String unit)
|
|
{
|
|
this.unit = unit;
|
|
}
|
|
|
|
public String getUnit()
|
|
{
|
|
return unit;
|
|
}
|
|
public void setPrice(BigDecimal price)
|
|
{
|
|
this.price = price;
|
|
}
|
|
|
|
public BigDecimal getPrice()
|
|
{
|
|
return price;
|
|
}
|
|
public void setTaxRate(BigDecimal taxRate)
|
|
{
|
|
this.taxRate = taxRate;
|
|
}
|
|
|
|
public BigDecimal getTaxRate()
|
|
{
|
|
return taxRate;
|
|
}
|
|
public void setTaxAmount(BigDecimal taxAmount)
|
|
{
|
|
this.taxAmount = taxAmount;
|
|
}
|
|
|
|
public BigDecimal getTaxAmount()
|
|
{
|
|
return taxAmount;
|
|
}
|
|
public void setRemark(String remark)
|
|
{
|
|
this.remark = remark;
|
|
}
|
|
|
|
public String getRemark()
|
|
{
|
|
return remark;
|
|
}
|
|
public void setAddTime(Date addTime)
|
|
{
|
|
this.addTime = addTime;
|
|
}
|
|
|
|
public Date getAddTime()
|
|
{
|
|
return addTime;
|
|
}
|
|
public void setUpdateTime(Date updateTime)
|
|
{
|
|
this.updateTime = updateTime;
|
|
}
|
|
|
|
public Date getUpdateTime()
|
|
{
|
|
return updateTime;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("parcelNumber", getParcelNumber())
|
|
.append("name", getName())
|
|
.append("unit", getUnit())
|
|
.append("price", getPrice())
|
|
.append("taxRate", getTaxRate())
|
|
.append("taxAmount", getTaxAmount())
|
|
.append("remark", getRemark())
|
|
.append("addTime", getAddTime())
|
|
.append("updateTime", getUpdateTime())
|
|
.toString();
|
|
}
|
|
}
|