/**
*
*/
package com.casic.test;
import java.io.Serializable;
/**
* @author 王树民
*2017年11月11日
* $
Resource.java
下午6:42:18
2017
*/
public class Resource implements Serializable{
private String ResourceName;
private int total;
/**
* @return the resourceName
*/
protected String getResourceName() {
return ResourceName;
}
/**
* @param resourceName the resourceName to set
*/
protected void setResourceName(String resourceName) {
ResourceName = resourceName;
}
/**
* @return the total
*/
protected int getTotal() {
return total;
}
/**
* @param total the total to set
*/
protected void setTotal(int total) {
this.total = total;
}
@Override
public String toString() {
return "Resource [ResourceName=" + ResourceName + ", total=" + total
+ "]";
}
/**
* @param resourceName
* @param total
*/
public Resource(String resourceName, int total) {
super();
ResourceName = resourceName;
this.total = total;
}
/**
*
*/
public Resource() {
// TODO Auto-generated constructor stub
}
}
*
*/
package com.casic.test;
import java.io.Serializable;
/**
* @author 王树民
*2017年11月11日
* $
Resource.java
下午6:42:18
2017
*/
public class Resource implements Serializable{
private String ResourceName;
private int total;
/**
* @return the resourceName
*/
protected String getResourceName() {
return ResourceName;
}
/**
* @param resourceName the resourceName to set
*/
protected void setResourceName(String resourceName) {
ResourceName = resourceName;
}
/**
* @return the total
*/
protected int getTotal() {
return total;
}
/**
* @param total the total to set
*/
protected void setTotal(int total) {
this.total = total;
}
@Override
public String toString() {
return "Resource [ResourceName=" + ResourceName + ", total=" + total
+ "]";
}
/**
* @param resourceName
* @param total
*/
public Resource(String resourceName, int total) {
super();
ResourceName = resourceName;
this.total = total;
}
/**
*
*/
public Resource() {
// TODO Auto-generated constructor stub
}
}