package com.ruoyi.system.domain.task;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 工单 隐患矛盾 关联对象
 */
@Data
@TableName(value = "tk_common_yinhuan_bind")
public class TkCommonYinhuanBind implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 隐患矛盾id
     */
    @TableField(value = "yinhuan_id")
    private Long yinhuanId;

    /**
     * 关联对象类型
     */
    @TableField(value = "bind_type")
    private String bindType;

    /**
     * 关联对象id
     */
    @TableField(value = "bind_id")
    private String bindId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    private static final long serialVersionUID = 1L;
}