BatchUpdatePICItem.java 679 Bytes
Newer Older
PWF-WK01\pengwufeng committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
package com.beecode.inz.common;

import java.util.UUID;

import org.json.JSONObject;

/**
 * 批量更新负责人条目
 * 
 * @author tanshuqiang
 *
 */
public class BatchUpdatePICItem extends BatchUpdateItem{

	private PICEntity pic;

	public BatchUpdatePICItem(JSONObject object) {
		super(object);
		JSONObject picObject = object.getJSONObject(BaseConstants.PIC);
		this.pic = new PICEntity(picObject);
	}
	
	public PICEntity getPic() {
		return pic;
	}
	
	public class PICEntity{
		
		private UUID id;
		
		public PICEntity(JSONObject object){
			this.id = UUID.fromString(object.getString(BaseConstants.ID));
		}
		
		public UUID getId(){
			return this.id;
		}
		
	}
	
}