package com.sckw.fleet.api.model.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * @Author: tangyishan
 * @CreateTime: 2025-12-11  14:46
 * @Description: 更新司机评分参数
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RUpdateDriverScoreDto implements Serializable {

    @Serial
    private static final long serialVersionUID = -8763763480079554893L;
    /**
     * 供应商企业id
     */
    @NotNull
    private Long supEntId;

    /**
     * 物流企业id
     */
    @NotNull
    private Long logEntId;
    /**
     * 司机评分id
     */
    @NotNull
    private Long driverId;

    /**
     * 评分
     */
    @NotNull
    private BigDecimal score;

    /**
     * 行为
     */
    @NotBlank
    private String action;

}
