package cn.iocoder.common.framework.dataobject;

import com.baomidou.mybatisplus.annotation.TableLogic;

/**
 * extends BaseDO 扩展 delete 操作
 *
 * @author Sin
 * @time 2019-03-22 22:03
 */
public class DeletableDO extends BaseDO {

    /**
     * 是否删除
     */
    @TableLogic
    private Integer deleted;

    @Override
    public String toString() {
        return "DeletableDO{" +
                "deleted=" + deleted +
                '}';
    }

    public Integer getDeleted() {
        return deleted;
    }

    public DeletableDO setDeleted(Integer deleted) {
        this.deleted = deleted;
        return this;
    }
}
