bocloud.sms/bocloud.sms.service/src/main/java/com/bocloud/sms/interfaces/NameRuleService.java

70 lines
1.3 KiB
Java
Raw Normal View History

2024-08-20 09:57:30 +00:00
package com.bocloud.sms.interfaces;
import com.bocloud.sms.entity.NameRule;
import com.megatron.common.model.*;
/**
* service
*
* @author wangyu
* @version 3.0.0-SNAPSHOT
* @since 2018/7/2
*/
public interface NameRuleService {
/**
*
*
* @param pager
* @param context
* @return
*/
GeneralResult<GridBean<NameRule>> list(Pager pager, RequestContext context);
/**
*
*
* @param id
* @return
*/
GeneralResult<NameRule> detail(Long id);
/**
*
*
* @param nameRule
* @param context
* @return
*/
GeneralResult<NameRule> create(NameRule nameRule, RequestContext context);
/**
*
*
* @param nameRule
* @param context
* @return
*/
Result modify(NameRule nameRule, RequestContext context);
/**
*
*
* @param id
* @return
*/
Result remove(Long id);
/**
*
*
* @param id
* @param tenantId
* @param userId
* @param projectId
* @return
*/
GeneralResult<String> generate(Long id, Long tenantId, Long userId, Long projectId, RequestContext context);
}