package com.hotwj.platform.driverManagement.driverGroup.domain.bo;

import com.hotwj.platform.driverManagement.driverGroup.domain.HotDriverGroup;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

/**
 * 驾驶员分组业务对象 hot_driver_group
 *
 * @author shihongwei
 * @date 2025-12-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotDriverGroup.class, reverseConvertGenerate = false)
public class HotDriverGroupBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    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=已删除
     */
    private Long isDeleted;


}
