cn.foxtech.common.entity.entity.DeviceMapperBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fox-edge-server-common-entity-service Show documentation
Show all versions of fox-edge-server-common-entity-service Show documentation
fox-edge-server-common-entity-service
The newest version!
/* ----------------------------------------------------------------------------
* Copyright (c) Guangzhou Fox-Tech Co., Ltd. 2020-2024. All rights reserved.
* --------------------------------------------------------------------------- */
package cn.foxtech.common.entity.entity;
import cn.foxtech.common.utils.number.NumberUtils;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;
import java.lang.reflect.Method;
import java.util.List;
import java.util.Map;
@Getter(value = AccessLevel.PUBLIC)
@Setter(value = AccessLevel.PUBLIC)
public class DeviceMapperBase extends DeviceObjInfEntity {
/**
* 映射名称
*/
private String mapperName;
/**
* 映射模式:
* replace 0 替换,例如将"对象1"重命名成“object 1”,只保留
* duplicate 1 副本,例如为“对象1”新增一个"object 1"的副本,同时保留"对象1"
* filter 2 过滤,例如将“对象1”剔除掉
*/
private Integer mapperMode;
/**
* 获得init方法
*
* @return 初始化方法
* @throws NoSuchMethodException 方法异常
*/
public static Method getInitMethod() throws NoSuchMethodException {
return DeviceMapperEntity.class.getMethod("init", DeviceObjInfEntity.class);
}
/**
* 业务Key
*
* @return 业务Key
*/
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy