cn.net.vidyo.yd.common.data.domain.IModel Maven / Gradle / Ivy
package cn.net.vidyo.yd.common.data.domain;
import java.io.Serializable;
public interface IModel extends Serializable {
/**
* id的值,用于进行序列化
*
* @return 返回信息
*/
KEY getIdentifier();
/**
* 设置key
*
* @param id lll
*/
void setIdentifier(KEY id);
/**
* ID已经被设置过
*
* @return 返回信息
*/
boolean isIdModified();
Class getKeyClass();
}