package org.springblade.system.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author bfhuange
 * @date 2024/8/28
 */
@Data
@Schema(description = "UserListVO对象")
public class UserListVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 用户编号
     */
    private String code;
    /**
     * 昵称
     */
    private String name;
    /**
     * 手机
     */
    private String phone;
}
