package com.seer.teach.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品属性值表
 * </p>
 *
 * @author Wang
 * @since 2025-07-04 19:08:30
 */
@Getter
@Setter
@TableName("mall_goods_attribute_value")
@Schema(name = "GoodsAttributeValueEntity对象", description = "商品属性值表")
public class GoodsAttributeValueEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "属性ID")
    @TableField("attribute_id")
    private Integer attributeId;

    @Schema(description = "属性值")
    @TableField("attribute_value")
    private String attributeValue;

    @Schema(description = "状态: 0=禁用 1=启用")
    @TableField("status")
    private Integer status;

    @Schema(description = "备注")
    @TableField("remark")
    private String remark;

    @Schema(description = "商户ID，为空表示平台属性")
    @TableField("merchant_id")
    private Integer merchantId;

    @Schema(description = "属性值范围：1-平台属性值 2-商户属性值")
    @TableField("scope")
    private Integer scope;

}