package com.yuchen.saas.park.api.dto.park;

import com.thinkunion.park.service.common.baseentity.MenuTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nest.springwrap.core.mp.base.BaseEntity;

import java.time.LocalDateTime;

/**
 * @author 黄兵华
 * @version 1.0
 * @date 2022/1/8 15:15
 * @Description 园区操作记录
 */
@Data
public class QueryOperationLogDto extends BaseEntity {

    @ApiModelProperty("操作的当前园区")
    private String parkId;

    @ApiModelProperty("菜单名称")
    private String menuName;

    private MenuTypeEnum menuTypeEnum;

    @ApiModelProperty("当前用户ID")
    private Long userId;

    @ApiModelProperty("用户名称")
    private String userName;


    @ApiModelProperty("操作时间")
    private LocalDateTime requestTimeStart;
    private LocalDateTime requestTimeEnd;

    @ApiModelProperty("耗时")
    private Long useTimeMin;
    private Long useTimeMax;

    private Long current = 1L;

    private Long size = 10L;
}
