package com.heyu.api.data.entity.vv;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
/**
*sku 与属性的对应关系
* @author quyixiao
* @since 2025-10-27
*/

@Data
@TableName("vv_product_property_value")
public class VvProductPropertyValueEntity implements java.io.Serializable {
private static final long serialVersionUID = 1L;

    public final static String CLASS_NAME ="com.heyu.api.data.entity.vv.VvProductPropertyValueEntity:";

    public final static String all = CLASS_NAME + "*";
    public final static String id_ = CLASS_NAME + "id";                                           // 
    public final static String is_delete = CLASS_NAME + "is_delete";                              // 是否删除：0 否 1 删除
    public final static String create_time = CLASS_NAME + "create_time";                          // 创建时间
    public final static String modify_time = CLASS_NAME + "modify_time";                          // 修改时间
    public final static String product_id = CLASS_NAME + "product_id";                            // skuid
    public final static String product_property_name = CLASS_NAME + "product_property_name";      // 属性名称
    public final static String product_property_value = CLASS_NAME + "product_property_value";    // 属性id
    public final static String product_property_id = CLASS_NAME + "product_property_id";          // 商品属性id
    public final static String default_sort = CLASS_NAME + "default_sort";                        // 默认排序
    //
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    //是否删除：0 否 1 删除
    private Integer isDelete;
    //创建时间
    private Date createTime;
    //修改时间
    private Date modifyTime;
    //skuid
    private Long productId;
    //属性名称
    private String productPropertyName;
    //属性id
    private String productPropertyValue;
    //商品属性id
    private Long productPropertyId;
    //默认排序
    private Integer defaultSort;
    /**
     *  
     * @return
     */
    public Long getId() {
        return id;
    }
    /**
     *  
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 是否删除：0 否 1 删除 
     * @return
     */
    public Integer getIsDelete() {
        return isDelete;
    }
    /**
     * 是否删除：0 否 1 删除 
     * @param isDelete
     */
    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 创建时间 
     * @return
     */
    public Date getCreateTime() {
        return createTime;
    }
    /**
     * 创建时间 
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 修改时间 
     * @return
     */
    public Date getModifyTime() {
        return modifyTime;
    }
    /**
     * 修改时间 
     * @param modifyTime
     */
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    /**
     * skuid 
     * @return
     */
    public Long getProductId() {
        return productId;
    }
    /**
     * skuid 
     * @param productId
     */
    public void setProductId(Long productId) {
        this.productId = productId;
    }

    /**
     * 属性名称 
     * @return
     */
    public String getProductPropertyName() {
        return productPropertyName;
    }
    /**
     * 属性名称 
     * @param productPropertyName
     */
    public void setProductPropertyName(String productPropertyName) {
        this.productPropertyName = productPropertyName;
    }

    /**
     * 属性id 
     * @return
     */
    public String getProductPropertyValue() {
        return productPropertyValue;
    }
    /**
     * 属性id 
     * @param productPropertyValue
     */
    public void setProductPropertyValue(String productPropertyValue) {
        this.productPropertyValue = productPropertyValue;
    }

    /**
     * 商品属性id 
     * @return
     */
    public Long getProductPropertyId() {
        return productPropertyId;
    }
    /**
     * 商品属性id 
     * @param productPropertyId
     */
    public void setProductPropertyId(Long productPropertyId) {
        this.productPropertyId = productPropertyId;
    }

    /**
     * 默认排序 
     * @return
     */
    public Integer getDefaultSort() {
        return defaultSort;
    }
    /**
     * 默认排序 
     * @param defaultSort
     */
    public void setDefaultSort(Integer defaultSort) {
        this.defaultSort = defaultSort;
    }

    @Override
    public String toString() {
        return "VvProductPropertyValueEntity{" +
                ",id=" + id +
                ",isDelete=" + isDelete +
                ",createTime=" + createTime +
                ",modifyTime=" + modifyTime +
                ",productId=" + productId +
                ",productPropertyName=" + productPropertyName +
                ",productPropertyValue=" + productPropertyValue +
                ",productPropertyId=" + productPropertyId +
                ",defaultSort=" + defaultSort +
                "}";
    }
}