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 Captain
 * @since 2025-06-10
 */
@Getter
@Setter
@TableName("mall_attribute")
@Schema(name = "AttributeEntity对象", description = "")
public class AttributeEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "商品类型")
    @TableField("attribute_category_id")
    private Integer attributeCategoryId;

    @Schema(description = "属性名称")
    @TableField("`name`")
    private String name;

    @Schema(description = "当添加商品时,该属性的添加类别; 0为手功输入;1为选择输入;2为多行文本输入")
    @TableField("input_type")
    private Integer inputType;

    @Schema(description = "即选择输入,则attr_name对应的值的取值就是该这字段值 ")
    @TableField("`value`")
    private String value;

    @TableField("sort_order")
    private Integer sortOrder;


}