package com.dcs.hnyz.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dcs.common.annotation.Excel;
    import com.dcs.common.core.domain.BaseEntity;

    import com.fasterxml.jackson.annotation.JsonFormat;


    import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;

/**
 * 请求任务对象 dcs_request_task
 *
 * @author dcs
 * @date 2025-08-02
 */

@Data
@TableName("dcs_request_task")
public class DcsRequestTask extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "request_id", type = IdType.AUTO)
    private Long requestId;

    @Excel(name = "名称")
    @TableField(value = "request_name")
    private String requestName;

    @Excel(name = "请求编号")
    @TableField(value = "request_code")
    private String requestCode;

    @Excel(name = "生产线")
    @TableField(value = "line_code")
    private String lineCode;

    @Excel(name = "请求类型")
    @TableField(value = "request_type")
    private String requestType;

    @Excel(name = "参数")
    @TableField(value = "request_param")
    private String requestParam;

    @Excel(name = "启用状态", readConverterExp = "0=-待执行,1-执行中,2-完成,3-异常")
    private Integer status;

    @TableField(value = "del_flag")
    private String delFlag;
}
