9 changed files with 173 additions and 29 deletions
@ -0,0 +1,24 @@ |
|||
package com.bnyer.common.core.dto; |
|||
|
|||
import com.bnyer.common.core.annotation.Desensitized; |
|||
import com.bnyer.common.core.enums.SensitiveTypeEnum; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Getter; |
|||
import lombok.Setter; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
|
|||
@Getter |
|||
@Setter |
|||
@ApiModel("艺术家账户存在接收类") |
|||
public class CreatorAccountExistDto implements Serializable { |
|||
|
|||
@ApiModelProperty(value="艺术家id") |
|||
private Long creatorId; |
|||
|
|||
@Desensitized(type = SensitiveTypeEnum.MOBILE_PHONE) |
|||
@ApiModelProperty(value="账户账号(加密)") |
|||
private String accountNo; |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.bnyer.common.core.dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Getter; |
|||
import lombok.Setter; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
|
|||
|
|||
@Getter |
|||
@Setter |
|||
@ApiModel("设置艺术家收款账户状态接收类") |
|||
public class SetCreatorAccountStatusDto implements Serializable { |
|||
|
|||
@ApiModelProperty(value="主键Id") |
|||
private Long id; |
|||
|
|||
@NotNull(message = "状态不能为空!") |
|||
@ApiModelProperty(value="状态") |
|||
private String status; |
|||
|
|||
@NotNull(message = "艺术家id不能为空!") |
|||
@ApiModelProperty(value="艺术家id") |
|||
private Long creatorId; |
|||
|
|||
} |
|||
Loading…
Reference in new issue