package cn.quantgroup.xyqb.controller.modifyphoneno.req;

import cn.quantgroup.xyqb.model.ModifyPhoneNoApplyStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Date: 2019/11/4
 * Time: 上午11:53
 *
 * @author: yangrui
 */
@Data
public class AuditReq implements Serializable {

    private static final long serialVersionUID = 9183603336718659105L;
    @NotNull(message = "id不能为空")
    private Long id;
    @ApiModelProperty("申请状态 1 通过; 2 不通过;")
    @NotNull(message = "申请状态不能为空")
    private ModifyPhoneNoApplyStatusEnum applyStatus;
    @ApiModelProperty("申请状态补充原因")
    @Length(max = 256, message = "原因最长256字符")
    private String applyStatusReason;
}
