package com.zxdmy.excite.system.entity.vo.role;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 云盘权限表
 * </p>
 *
 * @author ss
 * @since 2026-01-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class RoleVo implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 权限名称
     */
    private String roleName;

    /**
     * 上传权限
     */
    private Integer roleUpload;

    /**
     * 下载权限
     */
    private Integer roleDown;

    private Integer roleDelete;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 创建者ID
     */
    private Integer creatorId;

    /**
     * 创建者姓名
     */
    private String creatorName;

    /**
     * 删除时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deleteTime;

    /**
     * 删除者ID
     */
    private Integer deleteId;

    /**
     * 删除者姓名
     */
    private String deleteName;


}
