package com.vci.server.framework.volume.dao;
|
|
import java.io.Serializable;
|
|
import com.vci.common.annotaion.CustomAnnotaion;
|
import com.vci.common.objects.AbstractHistorizable;
|
@CustomAnnotaion(CustomDescription = "卷")
|
public class Pvolume extends AbstractHistorizable implements Serializable {
|
/**
|
*
|
*/
|
@CustomAnnotaion(CustomDescription = "序列",InToString = false)
|
private static final long serialVersionUID = 1L;
|
@CustomAnnotaion(CustomDescription = "ID",InToString = false)
|
private String id; //卷id
|
@CustomAnnotaion(CustomDescription = "名称")
|
private String name; //卷名称
|
@CustomAnnotaion(CustomDescription = "服务")
|
private String service;//卷服务
|
@CustomAnnotaion(CustomDescription = "服务器")
|
private String host;//卷服务器
|
@CustomAnnotaion(CustomDescription = "卷类型",InToString = false)
|
private int type; //卷服务器类型
|
@CustomAnnotaion(CustomDescription = "卷路径")
|
private String path; //卷服务路径
|
@CustomAnnotaion(CustomDescription = "是否首选")
|
private boolean isvalid; //是否为首选路径
|
|
public String getId() {
|
return id;
|
}
|
public void setId(String id) {
|
this.id = id;
|
}
|
public String getName() {
|
return name;
|
}
|
public void setName(String name) {
|
this.name = name;
|
}
|
public String getService() {
|
return service;
|
}
|
public void setService(String service) {
|
this.service = service;
|
}
|
public void setHost(String host) {
|
this.host = host;
|
}
|
public String getHost() {
|
return this.host;
|
}
|
public int getType() {
|
return type;
|
}
|
public void setType(int type) {
|
this.type = type;
|
}
|
public String getPath() {
|
return path;
|
}
|
public void setPath(String path) {
|
this.path = path;
|
}
|
public boolean getIsvalid() {
|
return isvalid;
|
}
|
public void setIsvalid(boolean isvalid) {
|
this.isvalid = isvalid;
|
}
|
|
public String getMessage(){
|
return "[名称:"+name+"|路径:"+path+"|类型:"+type+"]";
|
}
|
|
}
|