All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.rt.orm.entity.IDEntity Maven / Gradle / Ivy

There is a newer version: 1.1.17
Show newest version
package com.rt.orm.entity;

import java.util.Map;

import com.rt.core.beans.Property;

/**
 * 持久化对象基础类
 *
 * @author mj
 */
public class IDEntity extends Property {

    private static final long serialVersionUID = 1L;

    public IDEntity() {
        super();
    }

    public IDEntity(Map map) {
        super(map);
    }

    public IDEntity(String string) throws Exception {
        super(string);
    }

    @Override
    public String getId() {
        return getString("id");
    }

    @Override
    public void setId(String id) {
        put("id", id);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy