package us.co.state.judicial.mosaicweb.client.backgroundcheck.beans;

import com.smartgwt.client.data.DataSource;
import com.smartgwt.client.data.fields.DataSourceDateField;
import com.smartgwt.client.data.fields.DataSourceIntegerField;
import com.smartgwt.client.data.fields.DataSourceTextField;

public class StatusScreenDataSource extends DataSource {

	public StatusScreenDataSource() {
		DataSourceIntegerField chcId = new DataSourceIntegerField("chcId", "Id");
		addField(chcId);
		chcId.setPrimaryKey(true);
		chcId.setHidden(true);
		
		DataSourceTextField name = new DataSourceTextField("name", "Name");
		addField(name);
		
		
		DataSourceTextField status = new DataSourceTextField("status", "CHC Auth. Form Status");
		addField(status);
		
		DataSourceDateField dateRecField = new DataSourceDateField("dateRecieved", "Date CHC Auth. Form Recieved");
		addField(dateRecField);
	
		DataSourceTextField deterField = new DataSourceTextField("determination", "HR Determination");
		addField(deterField);
		
		DataSourceTextField completedByField = new DataSourceTextField("completedBy", "Completed By");
		addField(completedByField);
		
		DataSourceDateField completedDate = new DataSourceDateField("completedDate", "Date Completed");
		addField(completedDate);
		    
		setClientOnly(true);
	}
	
}
