Advertisement
Guest User

Model

a guest
Apr 14th, 2015
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  1. package com.xxx.model;
  2.  
  3. import java.io.Serializable;
  4.  
  5. import org.apache.ignite.cache.query.annotations.QuerySqlField;
  6.  
  7. public class MyTrx2 implements Serializable
  8. {
  9.     private static final long serialVersionUID = 544305937640394877L;
  10.  
  11.     @QuerySqlField(index = true)
  12.     Long id;
  13.    
  14.     @QuerySqlField(index = true)
  15.     String fullName;
  16.  
  17.     public MyTrx2() {
  18.     }
  19.  
  20.     public Long getId() {
  21.         return id;
  22.     }
  23.     public void setId(Long id) {
  24.         this.id = id;
  25.     }
  26.  
  27.     public String getFullName() {
  28.         return fullName;
  29.     }
  30.     public void setFullName(String fullName) {
  31.         this.fullName = fullName;
  32.     }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement