package com.liquidnet.client.admin.zhengzai.smile.dto;

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

import javax.validation.constraints.NotNull;

/**
 * 志愿者搜索
 */
@Data
public class SmileVSParam {

    @ApiModelProperty(value = "活动名称", example = "")
    private String title;
    @ApiModelProperty(value = "志愿者姓名", example = "")
    private String name;
    @ApiModelProperty(value = "志愿者手机号", example = "")
    private String phone;
    @ApiModelProperty(value = "审核状态", example = "")
    private Integer status;
    @ApiModelProperty(value = "性别[1-男|2-女]", example = "")
    private Integer sex;
    @ApiModelProperty(value = "职责组名称", example = "")
    private String team;
    @ApiModelProperty(value = "活动id", example = "")
    private String projectId;

    @ApiModelProperty(value = "页数", example = "1")
    @NotNull(message = "页数不能为空")
    private Integer pageSize;

    @ApiModelProperty(value = "数量", example = "20")
    @NotNull(message = "数量不能为空")
    private Integer pageNum;

    @ApiModelProperty(value = "排序字段", hidden = true)
    private String orderItem;

    @ApiModelProperty(value = "排序方式", hidden = true)
    private String orderSc;
}
