package com.ruoyi.web.modules.goods.dto;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商家保存商品
 */
public class GoodsSaveDTO
{
    private Long goodsId;

    private Long categoryId;

    /** 店铺商品分类（本店二级，可选） */
    private Long shopCategoryId;

    /** 属性模版（可选，用于删模版校验与编辑回显） */
    private Long attrTemplateId;

    private String goodsName;

    private String mainPic;

    private String detailContent;

    private BigDecimal salePrice;

    private Integer stock;

    private List<Long> serviceIds;

    /** 商品属性项（可选；选用模版后可修改） */
    private List<GoodsAttrItemDTO> attributes;

    /** 商品规格项（可选；选用模版后可修改） */
    private List<GoodsAttrItemDTO> specs;

    /** 禁止通过保存接口修改，传入则拒收 */
    private String goodsStatus;

    public Long getGoodsId()
    {
        return goodsId;
    }

    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }

    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getShopCategoryId()
    {
        return shopCategoryId;
    }

    public void setShopCategoryId(Long shopCategoryId)
    {
        this.shopCategoryId = shopCategoryId;
    }

    public Long getAttrTemplateId()
    {
        return attrTemplateId;
    }

    public void setAttrTemplateId(Long attrTemplateId)
    {
        this.attrTemplateId = attrTemplateId;
    }

    public String getGoodsName()
    {
        return goodsName;
    }

    public void setGoodsName(String goodsName)
    {
        this.goodsName = goodsName;
    }

    public String getMainPic()
    {
        return mainPic;
    }

    public void setMainPic(String mainPic)
    {
        this.mainPic = mainPic;
    }

    public String getDetailContent()
    {
        return detailContent;
    }

    public void setDetailContent(String detailContent)
    {
        this.detailContent = detailContent;
    }

    public BigDecimal getSalePrice()
    {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice)
    {
        this.salePrice = salePrice;
    }

    public Integer getStock()
    {
        return stock;
    }

    public void setStock(Integer stock)
    {
        this.stock = stock;
    }

    public List<Long> getServiceIds()
    {
        return serviceIds;
    }

    public void setServiceIds(List<Long> serviceIds)
    {
        this.serviceIds = serviceIds;
    }

    public List<GoodsAttrItemDTO> getAttributes()
    {
        return attributes;
    }

    public void setAttributes(List<GoodsAttrItemDTO> attributes)
    {
        this.attributes = attributes;
    }

    public List<GoodsAttrItemDTO> getSpecs()
    {
        return specs;
    }

    public void setSpecs(List<GoodsAttrItemDTO> specs)
    {
        this.specs = specs;
    }

    public String getGoodsStatus()
    {
        return goodsStatus;
    }

    public void setGoodsStatus(String goodsStatus)
    {
        this.goodsStatus = goodsStatus;
    }
}
