Initial project

This commit is contained in:
Timi
2025-07-08 14:34:32 +08:00
parent 271e2ae673
commit c27146aa91
56 changed files with 3050 additions and 80 deletions

View File

@ -0,0 +1,31 @@
package com.imyeyu.spring.entity;
/**
* 可软删除实体
*
* @author 夜雨
* @since 2025-02-06 15:30
*/
public interface Deletable {
/**
* 获取删除时间
*
* @return 删除时间
*/
Long getDeletedAt();
/**
* 设置删除时间
*
* @param deletedAt 删除时间
*/
void setDeletedAt(Long deletedAt);
/**
* 是否已删除
*
* @return true 为已删除
*/
boolean isDeleted();
}