javacodeadmin/ruoyi-system/src/main/java/com/ruoyi/system/domain/QuoteMaterial.java

220 lines
4.2 KiB
Java

package com.ruoyi.system.domain;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
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;
/**
* 项目报价--物料信息对象 quote_material
*
* @author ruoyi
* @date 2025-05-13
*/
public class QuoteMaterial extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Long id;
/** 服务项目 */
@Excel(name = "服务项目")
private String goodId;
/** 类型 */
@Excel(name = "类型")
private String typeId;
/** 标题 */
@Excel(name = "标题")
private String title;
/** 价格 */
@Excel(name = "价格")
private BigDecimal price;
/** 价格 */
@Excel(name = "价格")
private BigDecimal priceMin;
/** 价格 */
@Excel(name = "价格")
private BigDecimal priceMax;
/** 单位 */
@Excel(name = "单位")
private String unit;
/** 服务名称 */
@Excel(name = "服务名称")
private String serviceName;
/** 类型名称 */
@Excel(name = "类型名称")
private String typeName;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private Date createdAt;
/** $column.columnComment */
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private Date updatedAt;
private List<Long> goodsintids;
private List<Long> typeintids;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setGoodId(String goodId)
{
this.goodId = goodId;
}
public String getGoodId()
{
return goodId;
}
public void setTypeId(String typeId)
{
this.typeId = typeId;
}
public String getTypeId()
{
return typeId;
}
public void setTitle(String title)
{
this.title = title;
}
public String getTitle()
{
return title;
}
public void setPrice(BigDecimal price)
{
this.price = price;
}
public BigDecimal getPrice()
{
return price;
}
public void setUnit(String unit)
{
this.unit = unit;
}
public String getUnit()
{
return unit;
}
public void setCreatedAt(Date createdAt)
{
this.createdAt = createdAt;
}
public Date getCreatedAt()
{
return createdAt;
}
public void setUpdatedAt(Date updatedAt)
{
this.updatedAt = updatedAt;
}
public Date getUpdatedAt()
{
return updatedAt;
}
public String getTypeName() {
return typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName;
}
public String getServiceName() {
return serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public BigDecimal getPriceMin() {
return priceMin;
}
public void setPriceMin(BigDecimal priceMin) {
this.priceMin = priceMin;
}
public BigDecimal getPriceMax() {
return priceMax;
}
public void setPriceMax(BigDecimal priceMax) {
this.priceMax = priceMax;
}
public List<Long> getGoodsintids() {
return goodsintids;
}
public void setGoodsintids(List<Long> goodsintids) {
this.goodsintids = goodsintids;
}
public List<Long> getTypeintids() {
return typeintids;
}
public void setTypeintids(List<Long> typeintids) {
this.typeintids = typeintids;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("goodId", getGoodId())
.append("typeId", getTypeId())
.append("title", getTitle())
.append("price", getPrice())
.append("unit", getUnit())
.append("createdAt", getCreatedAt())
.append("updatedAt", getUpdatedAt())
.toString();
}
}