package com.hotwj.platform.driverManagement.driverGroup.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;

/**
 * 驾驶员分组对象 hot_driver_group
 *
 * @author shihongwei
 * @date 2025-12-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_driver_group")
public class HotDriverGroup extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 组名
     */
    private String groupName;

    /**
     * 组长驾驶员ID
     */
    private Long leaderId;

    /**
     * 组长姓名
     */
    private String leaderName;

    /**
     * 组员驾驶员ID列表（逗号分隔）
     */
    private String memberIds;

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

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


}
