Asms
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
package org.redkale.test.source;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Set;
|
||||
import org.redkale.convert.json.JsonConvert;
|
||||
import org.redkale.persistence.Id;
|
||||
|
||||
@@ -18,6 +19,8 @@ public class FullBean {
|
||||
|
||||
private String name;
|
||||
|
||||
private String[] remarks;
|
||||
|
||||
private byte[] img;
|
||||
|
||||
private BigInteger number;
|
||||
@@ -48,6 +51,8 @@ public class FullBean {
|
||||
|
||||
private Double money2;
|
||||
|
||||
private Set<Integer> ids;
|
||||
|
||||
public long getSeqid() {
|
||||
return seqid;
|
||||
}
|
||||
@@ -65,6 +70,23 @@ public class FullBean {
|
||||
return this;
|
||||
}
|
||||
|
||||
public String[] getRemarks() {
|
||||
return remarks;
|
||||
}
|
||||
|
||||
public void setRemarks(String[] remarks) {
|
||||
this.remarks = remarks;
|
||||
}
|
||||
|
||||
public Set<Integer> getIds() {
|
||||
return ids;
|
||||
}
|
||||
|
||||
public FullBean setIds(Set<Integer> ids) {
|
||||
this.ids = ids;
|
||||
return this;
|
||||
}
|
||||
|
||||
public byte getBit() {
|
||||
return bit;
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
package org.redkale.test.source;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Set;
|
||||
import org.redkale.convert.json.JsonConvert;
|
||||
import org.redkale.persistence.Id;
|
||||
|
||||
@@ -18,6 +19,8 @@ public class FullBean2 {
|
||||
|
||||
public String name;
|
||||
|
||||
public String[] remarks;
|
||||
|
||||
public byte[] img;
|
||||
|
||||
public BigInteger number;
|
||||
@@ -35,7 +38,7 @@ public class FullBean2 {
|
||||
public double money;
|
||||
|
||||
public byte bit;
|
||||
|
||||
|
||||
public Boolean flag2;
|
||||
|
||||
public Short status2;
|
||||
@@ -48,6 +51,8 @@ public class FullBean2 {
|
||||
|
||||
public Double money2;
|
||||
|
||||
public Set<Integer> ids;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonConvert.root().convertTo(this);
|
||||
|
||||
@@ -34,7 +34,7 @@ public class FullBeanDynFunc extends EntityFullFunc<FullBean> {
|
||||
setFieldValue(4, row, rs); // number: BigInteger
|
||||
|
||||
setFieldValue(4, row, rs); // bit: Byte
|
||||
|
||||
|
||||
rs.setFlag(row.getBoolean(5, false));
|
||||
rs.setStatus(row.getShort(6, (short) 0));
|
||||
rs.setId(row.getInteger(7, 0));
|
||||
|
||||
Reference in New Issue
Block a user