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;
		}
		
	}
	
}