41 lines
1.1 KiB
Java
41 lines
1.1 KiB
Java
|
|
package com.newyetai.usercenter.auth.dto;
|
||
|
|
|
||
|
|
import java.io.Serializable;
|
||
|
|
|
||
|
|
import io.swagger.annotations.ApiModelProperty;
|
||
|
|
import lombok.AllArgsConstructor;
|
||
|
|
import lombok.Builder;
|
||
|
|
import lombok.Data;
|
||
|
|
import lombok.NoArgsConstructor;
|
||
|
|
import io.swagger.annotations.ApiModel;
|
||
|
|
import javax.validation.constraints.NotNull;
|
||
|
|
import com.newyetai.common.validation.Update;
|
||
|
|
|
||
|
|
import com.newyetai.common.dto.BaseOperateDTO;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @author sr on 2022-04-05
|
||
|
|
*/
|
||
|
|
@Data
|
||
|
|
@NoArgsConstructor
|
||
|
|
@AllArgsConstructor
|
||
|
|
@Builder
|
||
|
|
@ApiModel(description = "授权订阅明细操作")
|
||
|
|
public class AuthSubscribeDetailCreateDTO extends BaseOperateDTO implements Serializable{
|
||
|
|
|
||
|
|
/** **/
|
||
|
|
private static final long serialVersionUID = 1L;
|
||
|
|
|
||
|
|
@ApiModelProperty("id")
|
||
|
|
@NotNull(message = "id不能为空", groups = {Update.class})
|
||
|
|
private Long id;
|
||
|
|
|
||
|
|
@ApiModelProperty("授权客户端id")
|
||
|
|
@NotNull(message = "授权客户端id不能为空")
|
||
|
|
private Long authClientId ;
|
||
|
|
@NotNull(message = "openId不能为空")
|
||
|
|
private String openId ;
|
||
|
|
@NotNull(message = "uniqueId不能为空")
|
||
|
|
private String uniqueId ;
|
||
|
|
|
||
|
|
}
|