package com.yuchen.saas.device.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

/**
 * 产品分类
 *
 * @author zhouhanwei
 * @since 2024-05-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("net_product_category")
@ApiModel(value="NetProductCategory对象", description="产品分类")
public class NetProductCategory extends BaseEntity {

    /**
     * 父节点id
     */
    @ApiModelProperty(name = "parentId", value = "父节点id")
    private Long parentId;
    /**
     * 分类名称
     */
    @ApiModelProperty(name = "categoryName", value = "分类名称")
    private String categoryName;
    /**
     * 分类标识
     */
    @ApiModelProperty(name = "categoryCode", value = "分类标识")
    private String categoryCode;
    /**
     * 排序
     */
    @ApiModelProperty(name = "sort", value = "排序")
    private Integer sort;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String remark;



}
