package org.ta.pddserver.model.api.request;

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

@Data
public class InBoundRequest {

    @Schema(
            description = "运单号",
            example = "P12345678",
            defaultValue = "",
            requiredMode = Schema.RequiredMode.REQUIRED // 必填
    )
    private String mailNo;

//    private String logisticsOrderCode;

//    private String orderCode;

//    private String action;

//    private String status;

    @Schema(
            description = "包裹长度，单位默认为厘米",
            example = "1",
            defaultValue = "",
            requiredMode = Schema.RequiredMode.REQUIRED // 必填
    )
    private Long length;

    @Schema(
            description = "包裹宽度，单位默认为厘米",
            example = "2",
            defaultValue = "",
            requiredMode = Schema.RequiredMode.REQUIRED // 必填
    )
    private Long width;

    @Schema(
            description = "包裹高度，单位默认为厘米",
            example = "3",
            defaultValue = "",
            requiredMode = Schema.RequiredMode.REQUIRED // 必填
    )
    private Long height;

    @Schema(
            description = "计费重量，单位默认为克",
            example = "4",
            defaultValue = "",
            requiredMode = Schema.RequiredMode.REQUIRED // 必填
    )
    private Long weight;

    @Schema(
            description = "实际重量，单位默认为克",
            example = "1",
            defaultValue = "",
            requiredMode = Schema.RequiredMode.REQUIRED // 必填
    )
    private Long actualWeight;

    @Schema(
            description = "异常编号",
            example = "130",
            defaultValue = "",
            requiredMode = Schema.RequiredMode.NOT_REQUIRED // 必填
    )
    private Integer code;

    @Schema(
        description = "实际货品类型",
        example = "NORMAL",
        defaultValue = "",
        requiredMode = Schema.RequiredMode.REQUIRED // 必填
    )
    private String goodsType;
}
