Sha256: 87d901e7a0812ebfd74482bb2fd27285522bdf16dcaef26104cc424b460fc81a

Contents?: true

Size: 342 Bytes

Versions: 4

Compression:

Stored size: 342 Bytes

Contents

package <%=@package%>.model;

<%=@licence%>

import org.springframework.hateoas.Identifiable;
/**
 * A mongodb-base entity.
 * @author <%=@user_name%>
 */
public class BaseEntity implements Identifiable<String> {

  private String id;

  public String getId() {
      return id;
  }

  public void setId(String id) {
      this.id = id;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spring-gen-0.2.3 lib/templates/src/main/java/model/mongodb/MongodbBaseEntity.java.erb
spring-gen-0.2.2 lib/templates/src/main/java/model/mongodb/MongodbBaseEntity.java.erb
spring-gen-0.2.1 lib/templates/resource/model/MongodbBaseEntity.java.erb
spring-gen-0.2.0 lib/templates/resource/model/MongodbBaseEntity.java.erb