package com.fizz.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 业务发送分组表 biz_send_job_group
 *
 * @author Cascade
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("biz_send_job_group")
public class BizSendJobGroup extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 分组ID */
    @TableId(type = IdType.AUTO)
    private Integer groupId;

    /** 所属批次ID */
    private Integer jobId;

    /** 在本批次内的组序号 */
    private Integer groupNo;

    /** 组类型: DRIVE(传动), FURNACE(炉火) */
    private String groupType;

    /** 组名称 (可选) */
    private String groupName;

    /** 分组状态: PENDING, IN_PROGRESS, COMPLETED, FAILED */
    private String status;

    // 解决 BaseEntity 字段导致的未知列问题
    @com.baomidou.mybatisplus.annotation.TableField(exist = false)
    private String searchValue;
    @com.baomidou.mybatisplus.annotation.TableField(exist = false)
    private java.util.Map<String,Object> params;
}

