31 lines
686 B
Java
31 lines
686 B
Java
|
|
package com.senmesh.usercenter.user.dto;
|
||
|
|
|
||
|
|
import com.senmesh.common.dto.BaseOperateDTO;
|
||
|
|
|
||
|
|
import io.swagger.annotations.ApiModel;
|
||
|
|
import io.swagger.annotations.ApiModelProperty;
|
||
|
|
import lombok.*;
|
||
|
|
|
||
|
|
import javax.validation.constraints.NotNull;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 用户启用/禁用/注销操作DTO
|
||
|
|
*
|
||
|
|
* @author liu on 2026-09-14
|
||
|
|
*/
|
||
|
|
@EqualsAndHashCode(callSuper = true)
|
||
|
|
@Data
|
||
|
|
@NoArgsConstructor
|
||
|
|
@AllArgsConstructor
|
||
|
|
@Builder
|
||
|
|
@ApiModel(description = "用户启用/禁用/注销操作")
|
||
|
|
public class UserStatusOperateDTO extends BaseOperateDTO {
|
||
|
|
|
||
|
|
private static final long serialVersionUID = 1L;
|
||
|
|
|
||
|
|
@ApiModelProperty("用户id")
|
||
|
|
@NotNull(message = "用户id不能为空")
|
||
|
|
private Long userId;
|
||
|
|
|
||
|
|
}
|