package com.template.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 * <p>
 *
 * </p>
 *
 * @author ceshi
 * @since 2024-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="新增返校申请对象", description="")
public class insertReturnRequest implements Serializable {

    @ApiModelProperty(value = "校友名称")
    @NotBlank(message = "校友名称不能为空")
    private String name;

    @ApiModelProperty(value = "微校卡号")
    @NotBlank(message = "微校卡号不能为空")
    private String cardNumber;

    @ApiModelProperty(value = "手机")
    @NotBlank(message = "手机不能为空")
    private String phone;

    @ApiModelProperty(value = "校区ID")
    @NotNull(message = "校区ID不能为空")
    private Integer schoolId;

    @ApiModelProperty(value = "返校时间")
    @NotBlank(message = "返校时间不能为空")
    private String returnsTime;

    @ApiModelProperty(value = "离校时间")
    @NotBlank(message = "离校时间不能为空")
    private String returneTime;

    @ApiModelProperty(value = "返校事由")
    @NotBlank(message = "返校事由不能为空")
    private String remark;

}
