package com.sckw.fleet.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

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

/**
 * @Author: tangyishan
 * @CreateTime: 2025-12-11  18:12
 * @Description: 司机评分明细
 */
@Data
@Accessors(chain = true)
public class KwfDriverScoreDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /** 评分主键id */
    private Long scoreId;

    /** 司机id */
    private Long driverId;

    /** 行为 */
    private String action;

    /** 评分变动 */
    private BigDecimal scoreChange;

    /** 变动后评分 */
    private BigDecimal score;

    /**
     * 创建人
     */
    private Long createBy;

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

    /**
     * 更新人
     */
    private Long updateBy;


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

    /**
     * 删除标识(0正常/-1删除)
     */
    private Integer delFlag;



}
