package com.softwarebr.nunu.json.admin.hall;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotEmpty;

/**
 * 团队介绍
 * @date 2020-02-25 12:11:26
 * @author lilin
 */

@Data
@ApiModel
public class TeamParam {

	@ApiModelProperty(value = "id(修改时必填,添加时忽略)", example = "1")
	private Long id;

	@ApiModelProperty(value = "个人照片", required = true, example = "")
	@NotEmpty(message = "个人照片不能为空")
	private String pictureUri;

	@ApiModelProperty(value = "个人姓名", required = true, example = "")
	@NotEmpty(message = "个人姓名不能为空")
	private String name;

	@ApiModelProperty(value = "所属职责", required = true, example = "")
	@NotEmpty(message = "所属职责不能为空")
	private String duty;

	@ApiModelProperty(value = "个人简介", required = true, example = "")
	@NotEmpty(message = "个人简介不能为空")
	private String synopsis;
}