package cn.ezhizao.project.business.recycleBin.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import cn.ezhizao.framework.web.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import cn.ezhizao.framework.aspectj.lang.annotation.Excel;

/**
 * 回收站对象 biz_recycle_bin
 *
 * @author ruoyi
 * @date 2023-11-02
 */
@Data
@TableName(value = "biz_recycle_bin")
public class BizRecycleBin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 来源外键 当该行标记子表删除时使用 */
    @ApiModelProperty(value = "${comment}")
    private Long fromId;

    /** 来源表名 */
    @Excel(name = "来源表名")
    @ApiModelProperty(value = "来源表名")
    private String sourceTableName;

    /** 来源表外键 */
    @ApiModelProperty(value = "来源表名")
    private Long sourceId;

    /** 数据json */
    @Excel(name = "数据json")
    @ApiModelProperty(value = "数据json")
    private String sourceValue;

    /** 租户表外键 */
    @ApiModelProperty(value = "数据json")
    private Long tenantId;

    /** 是否清除 */
    @Excel(name = "是否清除")
    @ApiModelProperty(value = "是否清除")
    private Integer isClean;

    /** 是否还原 */
    @Excel(name = "是否还原")
    @ApiModelProperty(value = "是否还原")
    private Integer isReturn;

}
