package com.cpop.jambox.business.entity.website;

import com.cpop.core.base.entity.BaseEntity;
import com.cpop.core.base.entity.BaseInsertListener;
import com.cpop.core.base.entity.BaseUpdateListener;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * 果酱模块化官网 导航栏表 实体类。
 *
 * @author Yxz
 * @since 2024-01-19
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Table(value = "cp_j_web_navigation", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class, mapperGenerateEnable = false)
public class Navigation extends BaseEntity implements Serializable {

    @Id
    private String id;

    /**
     * 导航栏名称
     */
    private String navigationName;

    /**
     * 路径
     */
    private String path;

    /**
     * 父级ID
     */
    private Integer parentId;





    /**
     * 逻辑删除（0否1是）
     */
    @Column(isLogicDelete = true)
    private Integer isDelete;

}
