package com.xiaoniu.system.platformusers.user.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author haoxuyang
 * @Date 2024/10/19 17:59
 */
@Data
@Schema(description = "修改用户信息参数DTO")
public class EditClientUserDTO {

    @Schema(description = "用户ID")
    @NotNull(message = "用户id不能为空")
    private Long id;

    @Schema(description = "用户昵称")
    private String nickName;

    @Schema(description = "用户手机号")
    @NotEmpty(message = "用户手机号不能为空")
    private String phoneNumber;

    @Schema(description = "会员id")
    @NotNull(message = "会员id不能为空")
    private Long memberId;

    @Schema(description = "用户标签")
    private String userLabel;

    @Schema(description = "剩余积分")
    private Integer remainingPoints;

    @Schema(description = "状态（1-正常 2-注销 3-拉黑）")
    private Integer status;

}
