package com.cf.imes.module.executor.controller.admin.manage.pack.vo;


import com.cf.imes.framework.common.pojo.PageParam;
import com.cf.imes.module.executor.validation.manage.pack.PackTypeValid;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import jakarta.validation.constraints.NotNull;

@Schema(description = "管理后台 - 查看包裹详情")
@Data
@ToString(callSuper = true)
public class PackDetailsReqVO extends PageParam {


    @Schema(description = "包裹ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "包裹数据错误，请重新查看")
    private Long packageId;


    @Schema(description = "包裹类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @PackTypeValid
    private Integer type;


}
