package com.hotwj.platform.driverManagement.driverRewardPunishment.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;
import java.util.Date;

/**
 * 驾驶员奖惩记录对象 hot_driver_reward_punishment
 *
 * @author shihongwei
 * @date 2025-12-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_driver_reward_punishment")
public class HotDriverRewardPunishment extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 驾驶员ID
     */
    private String driverId;

    /**
     * 驾驶员姓名
     */
    private String driverName;

    /**
     * 奖惩类型：1=奖励 2=处分
     */
    private Long recordType;

    /**
     * 奖惩日期
     */
    private Date eventDate;

    /**
     * 奖惩类别（字典/下拉）
     */
    private String category;

    /**
     * 奖惩原因/事由
     */
    private String reason;

    /**
     * 奖惩决定/处理意见
     */
    private String decision;

    /**
     * 附件URL（图片/PDF）
     */
    private String attachmentUrl;

    /**
     * 备注
     */
    private String remark;

    /**
     * 详细内容/说明
     */
    private String content;

    /**
     * 记录人ID
     */
    private Long recorderId;

    /**
     * 0=正常, 1=已删除
     */
    @TableLogic
    private Long isDeleted;


}
