Initial project
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.imyeyu.spring.service;
|
||||
|
||||
import com.imyeyu.java.bean.timi.TimiException;
|
||||
|
||||
/**
|
||||
* 可创建实体服务
|
||||
*
|
||||
* @param <T> 数据类型
|
||||
* @author 夜雨
|
||||
* @since 2025-05-14 17:29
|
||||
*/
|
||||
public interface CreatableService<T> {
|
||||
|
||||
/**
|
||||
* 创建数据
|
||||
*
|
||||
* @param t 数据对象
|
||||
* @throws TimiException 服务异常
|
||||
*/
|
||||
void create(T t);
|
||||
}
|
||||
Reference in New Issue
Block a user