/******************************************************************************
 *  Copyright 2015 by OLTPBenchmark Project                                   *
 *                                                                            *
 *  Licensed under the Apache License, Version 2.0 (the "License");           *
 *  you may not use this file except in compliance with the License.          *
 *  You may obtain a copy of the License at                                   *
 *                                                                            *
 *    http://www.apache.org/licenses/LICENSE-2.0                              *
 *                                                                            *
 *  Unless required by applicable law or agreed to in writing, software       *
 *  distributed under the License is distributed on an "AS IS" BASIS,         *
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  *
 *  See the License for the specific language governing permissions and       *
 *  limitations under the License.                                            *
 ******************************************************************************/


package com.oltpbenchmark.benchmarks.tpcc.pojo;

import java.io.Serializable;

public class District implements Serializable {

	public int d_id;
	public int d_w_id;
	public int d_next_o_id;
	public float d_ytd;
	public float d_tax;
	public String d_name;
	public String d_street_1;
	public String d_street_2;
	public String d_city;
	public String d_state;
	public String d_zip;

	@Override
	public String toString() {
		return ("\n***************** District ********************"
				+ "\n*        d_id = "
				+ d_id
				+ "\n*      d_w_id = "
				+ d_w_id
				+ "\n*       d_ytd = "
				+ d_ytd
				+ "\n*       d_tax = "
				+ d_tax
				+ "\n* d_next_o_id = "
				+ d_next_o_id
				+ "\n*      d_name = "
				+ d_name
				+ "\n*  d_street_1 = "
				+ d_street_1
				+ "\n*  d_street_2 = "
				+ d_street_2
				+ "\n*      d_city = "
				+ d_city
				+ "\n*     d_state = " + d_state + "\n*       d_zip = " + d_zip + "\n**********************************************");
	}

} // end District
