package com.yc.ship.module.trade.controller.app.pda.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * @author le'yang
 */
@Schema(description = "pda切换检票通道 Request VO")
@Data
public class PdaSiteChannelReqVO implements Serializable {


    @Schema(description = "通道id", example = "1")
    @NotNull(message = "通道id不能为空")
    private Long channelId;

    @Schema(description = "设备id", example = "1")
    @NotEmpty(message = "通道id不能为空")
    private String machineId;

    @Schema(description = "设备类型", example = "2")
    private Integer machineType;

}
