package com.sckw.transport.model.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author :donglang
 * @version :1.0
 * @description : 车辆过磅入参信息
 * @create :2025-11-13 08:59:00
 */
@Data
public class WaybillOrderCmeIntoWeighParam extends WaybillOrderProcessParam implements Serializable {

    @Serial
    private static final long serialVersionUID = 1038619782660342061L;

    /**
     * 车辆号
     */
    @Schema(description = "车辆号")
    @NotBlank(message = "车辆号不能为空")
    private String truckNo;

    /**
     * 皮重
     */
    @Schema(description = "皮重")
    @NotNull(message = "皮重不能为空")
    private BigDecimal tareAmount;


}
