14 changed files with 152 additions and 68 deletions
@ -0,0 +1,59 @@ |
|||||
|
package com.bnyer.img.dto; |
||||
|
|
||||
|
import com.bnyer.common.core.utils.bean.BeanUtils; |
||||
|
import com.bnyer.img.domain.Creator; |
||||
|
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 CreatorUpdateDto implements Serializable { |
||||
|
|
||||
|
@ApiModelProperty(value="主键id") |
||||
|
private Long id; |
||||
|
|
||||
|
@ApiModelProperty(value="姓名") |
||||
|
private String name; |
||||
|
|
||||
|
@ApiModelProperty(value="搜索码") |
||||
|
private String scanCode; |
||||
|
|
||||
|
@ApiModelProperty(value="手机号") |
||||
|
private String phone; |
||||
|
|
||||
|
@ApiModelProperty(value="头像img地址") |
||||
|
private String img; |
||||
|
|
||||
|
@ApiModelProperty(value="简介") |
||||
|
private String intro; |
||||
|
|
||||
|
@ApiModelProperty(value="邀请码") |
||||
|
private String inviteCode; |
||||
|
|
||||
|
@ApiModelProperty(value="状态(0->待审核;1->审核通过;2->审核拒绝)") |
||||
|
private String status; |
||||
|
|
||||
|
@ApiModelProperty(value="第三方平台账号详情地址") |
||||
|
private String url; |
||||
|
|
||||
|
@ApiModelProperty(value="是否活跃(0->不活跃;1->活跃 连续10天以上更新内容)") |
||||
|
private String isHot; |
||||
|
|
||||
|
@ApiModelProperty(value="是否显示 (0->隐藏;1->显示)") |
||||
|
private String isShow; |
||||
|
|
||||
|
@ApiModelProperty(value="排序") |
||||
|
private Integer sort; |
||||
|
|
||||
|
public Creator extractParam(){ |
||||
|
Creator creator = new Creator(); |
||||
|
BeanUtils.copyProperties(this,creator); |
||||
|
return creator; |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue