package com.test.bijihoudaun.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@Schema(description = "用户信息视图对象")
public class UserVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户id")
    private String id;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "用户角色")
    private String role;

    @Schema(description = "用户创建时间")
    private Date createdAt;

    @Schema(description = "用户更新时间")
    private Date updatedAt;
}
