package com.sckw.fleet.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: donglang
 * @CreateTime: 2025-12-11  14:46
 * @Description: 司机评分明细返回模型
 */
@Data
public class DriverScorerDetailVO {
    /**
     * 评分id
     */
    @Schema(description = "评分id")
    private Long scoreId;

    /**
     * 供应企业id
     */
    @Schema(description = "供应企业id")
    private Long supEntId;

    /**
     * 供应企业名称
     */
    @Schema(description = "供应企业名称")
    private String supEntName;


    /**
     * 司机id
     */
    @Schema(description = "司机id")
    private Long driverId;

    /**
     * 司机名称
     */
    @Schema(description = "司机名称")
    private String driverName;

    /**
     * 行为
     */
    @Schema(description = "行为")
    private String action;

    /**
     * 评分变动分数
     */
    @Schema(description = "评分变动分数")
    private BigDecimal scoreChange;

    /**
     * 变动后评分
     */
    @Schema(description = "变动后评分")
    private BigDecimal score;

    /**
     * 时间
     */
    @Schema(description = "时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
