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

291 lines
5.7 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;
@Excel(name = "附件图片")
private String image;
@Excel(name = "附件图片")
private String manyimages;
@Excel(name = "附件图片")
private String content;
@Excel(name = "是否有分佣 1:有 2:无 (默认有分佣)")
private Integer iscommissions;
@Excel(name = "分佣比例(百分比,默认的系统设置)")
private BigDecimal commissions;
@Excel(name = "净利润")
private BigDecimal profit;
/** $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;
}
public BigDecimal getProfit() {
return profit;
}
public void setProfit(BigDecimal profit) {
this.profit = profit;
}
public BigDecimal getCommissions() {
return commissions;
}
public void setCommissions(BigDecimal commissions) {
this.commissions = commissions;
}
public Integer getIscommissions() {
return iscommissions;
}
public void setIscommissions(Integer iscommissions) {
this.iscommissions = iscommissions;
}
public String getImage() {
return image;
}
public void setImage(String image) {
this.image = image;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getManyimages() {
return manyimages;
}
public void setManyimages(String manyimages) {
this.manyimages = manyimages;
}
@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();
}
}