package com.dcs.hnyz.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.dcs.common.annotation.Excel;
import com.dcs.common.core.domain.BaseEntity;


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

/**
 * 动作关联管理对象 action_binding
 *
 * @author hmy
 * @date 2025-04-28
 */

@Data
@TableName("action_binding")
@ApiModel(description = "动作关联管理对象")
public class ActionBinding extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键，自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 动作id（关联动作配置表）
     */
    @Excel(name = "动作id")
    @TableField(value = "action_id")
    @ApiModelProperty(value = "动作id")
    private Long actionId;

    /**
     * 同步触发的动作id
     */
    @Excel(name = "同步触发的动作id")
    @TableField(value = "bind_action_id")
    @ApiModelProperty(value = "同步触发的动作id")
    private Long bindActionId;

    /**
     * 启用状态（0-启用,1-禁用）
     */
    @Excel(name = "启用状态", readConverterExp = "0启用,1禁用")
    @TableField(value = "status")
    @ApiModelProperty(value = "启用状态,0启用,1禁用")
    private String status;

}
