package com.sqx.modules.errand.dto;

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

import javax.validation.constraints.NotNull;

@Data
@ApiModel("骑手转单dto")
public class RiderTransferOrderDTO {

    @ApiModelProperty(value = "配送单id", required = true)
    @NotNull(message = "配送单id不能为空")
    private Long indentId;

    @ApiModelProperty("待分配骑手手机号，待分配骑手手机号和待分配骑手真实姓名不能同时为空")
    private String phone;

    @ApiModelProperty("待分配骑手真实姓名，待分配骑手手机号和待分配骑手真实姓名不能同时为空")
    private String realName;
}
