info.addInterface(classes1Pool.get("java.io.Serializable"));
CtClass s = classes1Pool.get("java.lang.String");
CtField firstName = new CtField(s, "firstName", info);
firstName.setModifiers(Modifier.PRIVATE);
info.addField(firstName);
CtMethod getFirstName = CtNewMethod.getter("getFirstName", firstName);
getFirstName.setModifiers(Modifier.PUBLIC);
info.addMethod(getFirstName);
CtMethod setFirstName = CtNewMethod.setter("setFirstName", firstName);
setFirstName.setModifiers(Modifier.PUBLIC);
info.addMethod(setFirstName);
CtClass s2 = classes1Pool.get("java.lang.String");
CtField lastName = new CtField(s2, "lastName", info);
lastName.setModifiers(Modifier.PRIVATE);
info.addField(lastName);
CtMethod getLastName = CtNewMethod.getter("getLastName", lastName);
getLastName.setModifiers(Modifier.PUBLIC);
info.addMethod(getLastName);
CtMethod setLastName = CtNewMethod.setter("setLastName", lastName);
setLastName.setModifiers(Modifier.PUBLIC);
info.addMethod(setLastName);
//CtClass s3 = classes1Pool.get("java.lang.Long");
//CtField serialVersion = new CtField(s3, "serialVersionUID", info);
CtField serialVersion = new CtField(CtClass.longType, "serialVersionUID", info);
serialVersion.setModifiers(Modifier.PUBLIC | Modifier.STATIC | Modifier.FINAL);