package com.tongran.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tongran.common.core.annotation.Excel;
import com.tongran.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 菜单点击计数对象 sys_menu_click
 * 
 * @author tongran
 * @date 2025-11-12
 */
@Data
public class SysMenuClick extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 页面路由标识（例如：system:user:list, business:order:manage） */
    @Excel(name = "页面路由标识", readConverterExp = "例=如：system:user:list,,b=usiness:order:manage")
    private String pageRoute;

    /** 页面名称 */
    @Excel(name = "页面名称")
    private String pageName;

    /** 点击次数 */
    @Excel(name = "点击次数")
    private Long clickCount;

    /** 最后点击时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后点击时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastClickTime;

}
