package com.prolog.rdc.tms.model.vo;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

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

/**
 * 取号管理-按运单取号VO
 *
 * @author xiaoyf
 * @date 2022/04/20
 */
@Data
@ApiModel("取号管理-按运单取号VO")
public class TakeNumberByShipbillVO implements Serializable {

	private static final long serialVersionUID = -2885379600521006444L;

	@NotNull(message = "仓库ID不为空")
	@ApiModelProperty(value = "仓库ID")
	private Long branchId;

	@NotEmpty(message = "仓库编码不为空")
	@ApiModelProperty(value = "仓库ID")
	private String branchCode;

	@NotEmpty(message = "仓库名称不为空")
	@ApiModelProperty(value = "仓库ID")
	private String branchName;

	@NotNull(message = "仓库详细地址不为空")
	@ApiModelProperty(value = "仓库详细地址")
	private String branchAddress;

	@NotNull(message = "司机ID不为空")
	@ApiModelProperty(value = "司机ID")
	private Long driverId;

	@NotNull(message = "司机编码不为空")
	@ApiModelProperty(value = "司机编码")
	private String driverCode;

	@NotNull(message = "司机名称不为空")
	@ApiModelProperty(value = "司机名称")
	private String driverName;

	@NotNull(message = "司机手机号不为空")
	@ApiModelProperty(value = "司机手机号")
	private String driverPhoneNumber;

	@NotNull(message = "车牌号不为空")
	@ApiModelProperty(value = "车牌号")
	private String vehiclePlateNumber;

	@ApiModelProperty(value = "勾选的装车单明细主键集合 格式ids:['','']")
	private List<String> ids;

}
