865 lines
18 KiB
Java
865 lines
18 KiB
Java
package com.ruoyi.system.domain;
|
||
|
||
import java.math.BigDecimal;
|
||
import java.util.Date;
|
||
|
||
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;
|
||
|
||
/**
|
||
* 服务内容对象 service_goods
|
||
*
|
||
* @author ruoyi
|
||
* @date 2025-05-13
|
||
*/
|
||
public class ServiceGoods extends BaseEntity
|
||
{
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
/** $column.columnComment */
|
||
private Long id;
|
||
|
||
/** 标题 */
|
||
@Excel(name = "标题")
|
||
private String title;
|
||
|
||
/** 图标 */
|
||
// @Excel(name = "图标")
|
||
private String icon;
|
||
|
||
/** 轮播图 */
|
||
//@Excel(name = "轮播图")
|
||
private String imgs;
|
||
|
||
/** 副标题 */
|
||
// @Excel(name = "副标题")
|
||
private String subTitle;
|
||
|
||
/** 简介 */
|
||
@Excel(name = "简介")
|
||
private String info;
|
||
|
||
/** 价格 */
|
||
@Excel(name = "价格")
|
||
private BigDecimal price;
|
||
|
||
/** 列表价格显示 */
|
||
@Excel(name = "列表价格显示")
|
||
private String priceZn;
|
||
|
||
/** 销量 */
|
||
@Excel(name = "销量")
|
||
private Long sales;
|
||
|
||
/** 库存 */
|
||
@Excel(name = "库存")
|
||
private Long stock;
|
||
|
||
/** 状态 */
|
||
private String status;
|
||
|
||
/** 状态名称(用于导出显示) */
|
||
@Excel(name = "状态")
|
||
private String statusName;
|
||
|
||
/** 详情 */
|
||
// @Excel(name = "详情")
|
||
private String description;
|
||
|
||
/** 下单类型 1:预约下单 2:报价下单 */
|
||
private Integer servicetype;
|
||
|
||
/** 下单类型名称(用于导出显示) */
|
||
@Excel(name = "下单类型")
|
||
private String serviceTypeName;
|
||
|
||
/** 规格类型 1:单规格 2:多规格 */
|
||
private Integer skuType;
|
||
|
||
/** 规格类型名称(用于导出显示) */
|
||
@Excel(name = "规格类型")
|
||
private String skuTypeName;
|
||
|
||
/** 规格 */
|
||
private String sku;
|
||
|
||
/** 经度 */
|
||
private String latitude;
|
||
|
||
/** 纬度 */
|
||
private String longitude;
|
||
|
||
/** 1:服务 2:商品 */
|
||
private Integer type;
|
||
|
||
/** 类型名称(用于导出显示) */
|
||
@Excel(name = "类型")
|
||
private String typeName;
|
||
|
||
/** 分类 */
|
||
private Long cateId;
|
||
|
||
/** 一级分类ID */
|
||
private Long firstCateId;
|
||
|
||
/** 二级分类ID */
|
||
private Long secondCateId;
|
||
|
||
/** 分类名称 */
|
||
@Excel(name = "分类名称")
|
||
private String cateName;
|
||
|
||
/** 适用城市 */
|
||
//@Excel(name = "适用城市")
|
||
private String cityNames;
|
||
|
||
/** 服务项目 */
|
||
//@Excel(name = "服务项目")
|
||
private String project;
|
||
|
||
/** 排序 */
|
||
@Excel(name = "排序")
|
||
private Integer sort;
|
||
|
||
/** 是否跳转服务 */
|
||
private Integer isforservice;
|
||
|
||
/** 是否跳转服务名称(用于导出显示) */
|
||
// @Excel(name = "是否跳转服务")
|
||
private String isForServiceName;
|
||
|
||
/** 跳转服务id */
|
||
private Integer forserviceid;
|
||
|
||
/** 物料费用 */
|
||
//@Excel(name = "物料费用")
|
||
private String material;
|
||
|
||
/** 邮费 */
|
||
//@Excel(name = "邮费")
|
||
private BigDecimal postage;
|
||
|
||
/** 基检现象 */
|
||
//@Excel(name = "基检现象")
|
||
private String basic;
|
||
|
||
/** 保证金 */
|
||
//@Excel(name = "保证金")
|
||
private BigDecimal margin;
|
||
|
||
/** 所需技能 */
|
||
//@Excel(name = "所需技能")
|
||
private String skillNames;
|
||
|
||
/** 所需技能ID(数据库字段) */
|
||
private String skillIds;
|
||
|
||
/** 是否可拼团 1:是 2:否 */
|
||
private Integer isgroup;
|
||
|
||
/** 是否可拼团名称(用于导出显示) */
|
||
//@Excel(name = "是否可拼团")
|
||
private String isGroupName;
|
||
|
||
/** 拼团价 */
|
||
//@Excel(name = "拼团价")
|
||
private BigDecimal groupprice;
|
||
|
||
/** 拼团人数 */
|
||
// @Excel(name = "拼团人数")
|
||
private Integer groupnum;
|
||
|
||
/** 是否可设置次卡 1:是 2:否 */
|
||
private Integer isonce;
|
||
|
||
/** 是否可设置次卡名称(用于导出显示) */
|
||
//@Excel(name = "是否可设置次卡")
|
||
private String isOnceName;
|
||
|
||
/** 次卡价格 */
|
||
//@Excel(name = "次卡价格")
|
||
private BigDecimal onceprice;
|
||
|
||
/** 分佣模式 1:系统分佣 2:独立分佣 3:不分佣 */
|
||
private Integer commissiontype;
|
||
|
||
/** 分佣模式名称(用于导出显示) */
|
||
//@Excel(name = "分佣模式")
|
||
private String commissionTypeName;
|
||
|
||
/** 分佣比例 */
|
||
//@Excel(name = "分佣比例")
|
||
private BigDecimal commission;
|
||
|
||
/** 派单模式 1:系统派单 2:后台手动派单 3:指定工人 */
|
||
private Integer dispatchtype;
|
||
|
||
/** 派单模式名称(用于导出显示) */
|
||
//@Excel(name = "派单模式")
|
||
private String dispatchTypeName;
|
||
|
||
/** 指定工人的id集合 */
|
||
private String workerids;
|
||
|
||
/** 指定工人名称(用于导出显示) */
|
||
//@Excel(name = "指定工人")
|
||
private String workerNames;
|
||
|
||
/** 是否为一口价 1:是 2:否 */
|
||
private Integer isfixed;
|
||
|
||
/** 是否为一口价名称(用于导出显示) */
|
||
// @Excel(name = "是否为一口价")
|
||
private String isFixedName;
|
||
|
||
/** 一口价价格 */
|
||
//@Excel(name = "一口价价格")
|
||
private BigDecimal fixedprice;
|
||
|
||
/** 问答 */
|
||
//@Excel(name = "问答数量")
|
||
private String questionCount;
|
||
|
||
|
||
/** $column.columnComment */
|
||
// @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||
private Date createdAt;
|
||
|
||
/** $column.columnComment */
|
||
//@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||
private Date updatedAt;
|
||
|
||
/** $column.columnComment */
|
||
// @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||
private Date deletedAt;
|
||
|
||
private String city;
|
||
|
||
private BigDecimal minPrice;
|
||
private BigDecimal maxPrice;
|
||
private String createdStart;
|
||
private String createdEnd;
|
||
|
||
public void setId(Long id)
|
||
{
|
||
this.id = id;
|
||
}
|
||
|
||
public Long getId()
|
||
{
|
||
return id;
|
||
}
|
||
|
||
public void setTitle(String title)
|
||
{
|
||
this.title = title;
|
||
}
|
||
|
||
public String getTitle()
|
||
{
|
||
return title;
|
||
}
|
||
|
||
public void setIcon(String icon)
|
||
{
|
||
this.icon = icon;
|
||
}
|
||
|
||
public String getIcon()
|
||
{
|
||
return icon;
|
||
}
|
||
|
||
public void setImgs(String imgs)
|
||
{
|
||
this.imgs = imgs;
|
||
}
|
||
|
||
public String getImgs()
|
||
{
|
||
return imgs;
|
||
}
|
||
|
||
public void setSubTitle(String subTitle)
|
||
{
|
||
this.subTitle = subTitle;
|
||
}
|
||
|
||
public String getSubTitle()
|
||
{
|
||
return subTitle;
|
||
}
|
||
|
||
public void setInfo(String info)
|
||
{
|
||
this.info = info;
|
||
}
|
||
|
||
public String getInfo()
|
||
{
|
||
return info;
|
||
}
|
||
|
||
public void setPrice(BigDecimal price)
|
||
{
|
||
this.price = price;
|
||
}
|
||
|
||
public BigDecimal getPrice()
|
||
{
|
||
return price;
|
||
}
|
||
|
||
public void setPriceZn(String priceZn)
|
||
{
|
||
this.priceZn = priceZn;
|
||
}
|
||
|
||
public String getPriceZn()
|
||
{
|
||
return priceZn;
|
||
}
|
||
|
||
public void setSales(Long sales)
|
||
{
|
||
this.sales = sales;
|
||
}
|
||
|
||
public Long getSales()
|
||
{
|
||
return sales;
|
||
}
|
||
|
||
public void setStock(Long stock)
|
||
{
|
||
this.stock = stock;
|
||
}
|
||
|
||
public Long getStock()
|
||
{
|
||
return stock;
|
||
}
|
||
|
||
public void setStatus(String status)
|
||
{
|
||
this.status = status;
|
||
}
|
||
|
||
public String getStatus()
|
||
{
|
||
return status;
|
||
}
|
||
|
||
public void setDescription(String description)
|
||
{
|
||
this.description = description;
|
||
}
|
||
|
||
public String getDescription()
|
||
{
|
||
return description;
|
||
}
|
||
|
||
public void setSkuType(Integer skuType)
|
||
{
|
||
this.skuType = skuType;
|
||
}
|
||
|
||
public Integer getSkuType()
|
||
{
|
||
return skuType;
|
||
}
|
||
|
||
public void setSku(String sku)
|
||
{
|
||
this.sku = sku;
|
||
}
|
||
|
||
public String getSku()
|
||
{
|
||
return sku;
|
||
}
|
||
|
||
public void setLatitude(String latitude)
|
||
{
|
||
this.latitude = latitude;
|
||
}
|
||
|
||
public String getLatitude()
|
||
{
|
||
return latitude;
|
||
}
|
||
|
||
public void setLongitude(String longitude)
|
||
{
|
||
this.longitude = longitude;
|
||
}
|
||
|
||
public String getLongitude()
|
||
{
|
||
return longitude;
|
||
}
|
||
|
||
public void setType(Integer type)
|
||
{
|
||
this.type = type;
|
||
}
|
||
|
||
public Integer getType()
|
||
{
|
||
return type;
|
||
}
|
||
|
||
public void setCateId(Long cateId)
|
||
{
|
||
this.cateId = cateId;
|
||
}
|
||
|
||
public Long getCateId()
|
||
{
|
||
return cateId;
|
||
}
|
||
|
||
public void setFirstCateId(Long firstCateId)
|
||
{
|
||
this.firstCateId = firstCateId;
|
||
}
|
||
|
||
public Long getFirstCateId()
|
||
{
|
||
return firstCateId;
|
||
}
|
||
|
||
public void setSecondCateId(Long secondCateId)
|
||
{
|
||
this.secondCateId = secondCateId;
|
||
}
|
||
|
||
public Long getSecondCateId()
|
||
{
|
||
return secondCateId;
|
||
}
|
||
|
||
public void setProject(String project)
|
||
{
|
||
this.project = project;
|
||
}
|
||
|
||
public String getProject()
|
||
{
|
||
return project;
|
||
}
|
||
|
||
public void setSort(Integer sort)
|
||
{
|
||
this.sort = sort;
|
||
}
|
||
|
||
public Integer getSort()
|
||
{
|
||
return sort;
|
||
}
|
||
|
||
public void setMaterial(String material)
|
||
{
|
||
this.material = material;
|
||
}
|
||
|
||
public String getMaterial()
|
||
{
|
||
return material;
|
||
}
|
||
|
||
public void setPostage(BigDecimal postage)
|
||
{
|
||
this.postage = postage;
|
||
}
|
||
|
||
public BigDecimal getPostage()
|
||
{
|
||
return postage;
|
||
}
|
||
|
||
public void setBasic(String basic)
|
||
{
|
||
this.basic = basic;
|
||
}
|
||
|
||
public String getBasic()
|
||
{
|
||
return basic;
|
||
}
|
||
|
||
public void setMargin(BigDecimal margin)
|
||
{
|
||
this.margin = margin;
|
||
}
|
||
|
||
public BigDecimal getMargin()
|
||
{
|
||
return margin;
|
||
}
|
||
|
||
public void setSkillNames(String skillNames)
|
||
{
|
||
this.skillNames = skillNames;
|
||
}
|
||
|
||
public String getSkillNames()
|
||
{
|
||
return skillNames;
|
||
}
|
||
|
||
public void setSkillIds(String skillIds)
|
||
{
|
||
this.skillIds = skillIds;
|
||
}
|
||
|
||
public String getSkillIds()
|
||
{
|
||
return skillIds;
|
||
}
|
||
|
||
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 void setDeletedAt(Date deletedAt)
|
||
{
|
||
this.deletedAt = deletedAt;
|
||
}
|
||
|
||
public Date getDeletedAt()
|
||
{
|
||
return deletedAt;
|
||
}
|
||
|
||
public String getCateName() {
|
||
return cateName;
|
||
}
|
||
|
||
public void setCateName(String cateName) {
|
||
this.cateName = cateName;
|
||
}
|
||
|
||
public String getCreatedEnd() {
|
||
return createdEnd;
|
||
}
|
||
|
||
public void setCreatedEnd(String createdEnd) {
|
||
this.createdEnd = createdEnd;
|
||
}
|
||
|
||
public String getCreatedStart() {
|
||
return createdStart;
|
||
}
|
||
|
||
public void setCreatedStart(String createdStart) {
|
||
this.createdStart = createdStart;
|
||
}
|
||
|
||
public BigDecimal getMaxPrice() {
|
||
return maxPrice;
|
||
}
|
||
|
||
public void setMaxPrice(BigDecimal maxPrice) {
|
||
this.maxPrice = maxPrice;
|
||
}
|
||
|
||
public BigDecimal getMinPrice() {
|
||
return minPrice;
|
||
}
|
||
|
||
public void setMinPrice(BigDecimal minPrice) {
|
||
this.minPrice = minPrice;
|
||
}
|
||
|
||
|
||
public BigDecimal getFixedprice() {
|
||
return fixedprice;
|
||
}
|
||
|
||
public void setFixedprice(BigDecimal fixedprice) {
|
||
this.fixedprice = fixedprice;
|
||
}
|
||
|
||
public Integer getIsfixed() {
|
||
return isfixed;
|
||
}
|
||
|
||
public void setIsfixed(Integer isfixed) {
|
||
this.isfixed = isfixed;
|
||
}
|
||
|
||
public String getWorkerids() {
|
||
return workerids;
|
||
}
|
||
|
||
public void setWorkerids(String workerids) {
|
||
this.workerids = workerids;
|
||
}
|
||
|
||
public Integer getDispatchtype() {
|
||
return dispatchtype;
|
||
}
|
||
|
||
public void setDispatchtype(Integer dispatchtype) {
|
||
this.dispatchtype = dispatchtype;
|
||
}
|
||
|
||
public BigDecimal getCommission() {
|
||
return commission;
|
||
}
|
||
|
||
public void setCommission(BigDecimal commission) {
|
||
this.commission = commission;
|
||
}
|
||
|
||
public Integer getCommissiontype() {
|
||
return commissiontype;
|
||
}
|
||
|
||
public void setCommissiontype(Integer commissiontype) {
|
||
this.commissiontype = commissiontype;
|
||
}
|
||
|
||
public BigDecimal getOnceprice() {
|
||
return onceprice;
|
||
}
|
||
|
||
public void setOnceprice(BigDecimal onceprice) {
|
||
this.onceprice = onceprice;
|
||
}
|
||
|
||
public Integer getIsonce() {
|
||
return isonce;
|
||
}
|
||
|
||
public void setIsonce(Integer isonce) {
|
||
this.isonce = isonce;
|
||
}
|
||
|
||
public BigDecimal getGroupprice() {
|
||
return groupprice;
|
||
}
|
||
|
||
public void setGroupprice(BigDecimal groupprice) {
|
||
this.groupprice = groupprice;
|
||
}
|
||
|
||
public Integer getIsgroup() {
|
||
return isgroup;
|
||
}
|
||
|
||
public void setIsgroup(Integer isgroup) {
|
||
this.isgroup = isgroup;
|
||
}
|
||
|
||
public Integer getGroupnum() {
|
||
return groupnum;
|
||
}
|
||
|
||
public void setGroupnum(Integer groupnum) {
|
||
this.groupnum = groupnum;
|
||
}
|
||
|
||
public Integer getServicetype() {
|
||
return servicetype;
|
||
}
|
||
|
||
public void setServicetype(Integer servicetype) {
|
||
this.servicetype = servicetype;
|
||
}
|
||
|
||
public String getQuestions() {
|
||
return questionCount;
|
||
}
|
||
|
||
public void setQuestions(String questionCount) {
|
||
this.questionCount = questionCount;
|
||
}
|
||
|
||
public Integer getIsforservice() {
|
||
return isforservice;
|
||
}
|
||
|
||
public void setIsforservice(Integer isforservice) {
|
||
this.isforservice = isforservice;
|
||
}
|
||
|
||
public Integer getForserviceid() {
|
||
return forserviceid;
|
||
}
|
||
|
||
public void setForserviceid(Integer forserviceid) {
|
||
this.forserviceid = forserviceid;
|
||
}
|
||
|
||
|
||
public String getCity() {
|
||
return city;
|
||
}
|
||
|
||
public void setCity(String city) {
|
||
this.city = city;
|
||
}
|
||
|
||
// 新增字段的getter和setter方法
|
||
public String getStatusName() {
|
||
return statusName;
|
||
}
|
||
|
||
public void setStatusName(String statusName) {
|
||
this.statusName = statusName;
|
||
}
|
||
|
||
public String getServiceTypeName() {
|
||
return serviceTypeName;
|
||
}
|
||
|
||
public void setServiceTypeName(String serviceTypeName) {
|
||
this.serviceTypeName = serviceTypeName;
|
||
}
|
||
|
||
public String getSkuTypeName() {
|
||
return skuTypeName;
|
||
}
|
||
|
||
public void setSkuTypeName(String skuTypeName) {
|
||
this.skuTypeName = skuTypeName;
|
||
}
|
||
|
||
public String getTypeName() {
|
||
return typeName;
|
||
}
|
||
|
||
public void setTypeName(String typeName) {
|
||
this.typeName = typeName;
|
||
}
|
||
|
||
public String getCityNames() {
|
||
return cityNames;
|
||
}
|
||
|
||
public void setCityNames(String cityNames) {
|
||
this.cityNames = cityNames;
|
||
}
|
||
|
||
public String getIsForServiceName() {
|
||
return isForServiceName;
|
||
}
|
||
|
||
public void setIsForServiceName(String isForServiceName) {
|
||
this.isForServiceName = isForServiceName;
|
||
}
|
||
|
||
public String getIsGroupName() {
|
||
return isGroupName;
|
||
}
|
||
|
||
public void setIsGroupName(String isGroupName) {
|
||
this.isGroupName = isGroupName;
|
||
}
|
||
|
||
public String getIsOnceName() {
|
||
return isOnceName;
|
||
}
|
||
|
||
public void setIsOnceName(String isOnceName) {
|
||
this.isOnceName = isOnceName;
|
||
}
|
||
|
||
public String getCommissionTypeName() {
|
||
return commissionTypeName;
|
||
}
|
||
|
||
public void setCommissionTypeName(String commissionTypeName) {
|
||
this.commissionTypeName = commissionTypeName;
|
||
}
|
||
|
||
public String getDispatchTypeName() {
|
||
return dispatchTypeName;
|
||
}
|
||
|
||
public void setDispatchTypeName(String dispatchTypeName) {
|
||
this.dispatchTypeName = dispatchTypeName;
|
||
}
|
||
|
||
public String getWorkerNames() {
|
||
return workerNames;
|
||
}
|
||
|
||
public void setWorkerNames(String workerNames) {
|
||
this.workerNames = workerNames;
|
||
}
|
||
|
||
public String getIsFixedName() {
|
||
return isFixedName;
|
||
}
|
||
|
||
public void setIsFixedName(String isFixedName) {
|
||
this.isFixedName = isFixedName;
|
||
}
|
||
|
||
public String getQuestionCount() {
|
||
return questionCount;
|
||
}
|
||
|
||
public void setQuestionCount(String questionCount) {
|
||
this.questionCount = questionCount;
|
||
}
|
||
|
||
@Override
|
||
public String toString() {
|
||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||
.append("id", getId())
|
||
.append("title", getTitle())
|
||
.append("icon", getIcon())
|
||
.append("imgs", getImgs())
|
||
.append("subTitle", getSubTitle())
|
||
.append("info", getInfo())
|
||
.append("price", getPrice())
|
||
.append("priceZn", getPriceZn())
|
||
.append("sales", getSales())
|
||
.append("stock", getStock())
|
||
.append("status", getStatus())
|
||
.append("description", getDescription())
|
||
.append("skuType", getSkuType())
|
||
.append("sku", getSku())
|
||
.append("latitude", getLatitude())
|
||
.append("longitude", getLongitude())
|
||
.append("type", getType())
|
||
.append("cateId", getCateId())
|
||
.append("project", getProject())
|
||
.append("sort", getSort())
|
||
.append("material", getMaterial())
|
||
.append("postage", getPostage())
|
||
.append("basic", getBasic())
|
||
.append("margin", getMargin())
|
||
.append("skillNames", getSkillNames())
|
||
.append("skillIds", getSkillIds())
|
||
.append("createdAt", getCreatedAt())
|
||
.append("updatedAt", getUpdatedAt())
|
||
.append("deletedAt", getDeletedAt())
|
||
.toString();
|
||
}
|
||
}
|