package com.qiyou.mb.android.utils.enums;

public enum mediaStatus { 
	
NORMAL(0),DELETED(1),SHARED(2),HIDED(3),UPLOADED(4),;
	
mediaStatus(int type){
	this.type=type;
}
private int type=0;
@Override
public String toString() {

    return String.valueOf(this.type);

}
public int toInt() {

    return type;

}
public static mediaStatus valueOf(int type) {
	// TODO Auto-generated method stub
	switch(type){
		case 0:{return NORMAL;}
		case 1:{return DELETED;}
		case 2:return SHARED;
		case 3:return HIDED; 
		case 4:return UPLOADED; 
		default: return NORMAL;
		} 
	}
}
