package com.yaoai.domain.entity;

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

import java.time.LocalDateTime;

@Data
@TableName("admin_menus")
public class AdminMenu {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Long parentId;

    private String title;

    private String path;

    private String icon;

    private String allowedRoles;

    private Integer sortOrder;

    private Integer status;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;
}
