package com.cku.oa.showRefereeDelegate.vo;

import com.cku.oa.showRefereeDelegate.entity.Referee;
import com.cku.oa.showRefereeDelegate.entity.Show;

import java.util.Date;

/**
 * @author yuanshuai
 * @date 2021/2/26 16:38
 */
public class ShowRefereeVo {
	/**
	 * 赛事编号
	 */
	private String code;
	/**
	 * 子赛事编号
	 */
	private String childCode;
	/**
	 * 赛事场次
	 */
	private Integer count;
	/**
	 * 大区字符串
	 */
	private String region;
	/**
	 * 城市
	 */
	private String city;
	/**
	 * 省份
	 */
	private String province;
	/**
	 * 裁判
	 */
	private String referee;
	/**
	 * 裁判级别
	 */
	private String refereeLevel;
	/**
	 * 赛事开始时间
	 */
	private Date startDate;
	/**
	 * 赛事结束时间
	 */
	private Date endDate;

	public ShowRefereeVo(Show show) {
		this.code = show.getCode();
		this.count = show.getCount();
		this.region = show.getRegionStr();
		this.city = show.getCity();
		this.province = show.getProvince();
		this.startDate = show.getStartDate();
		this.endDate = show.getEndDate();
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getChildCode() {
		return childCode;
	}

	public void setChildCode(String childCode) {
		this.childCode = childCode;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getReferee() {
		return referee;
	}

	public void setReferee(String referee) {
		this.referee = referee;
	}

	public String getRefereeLevel() {
		return refereeLevel;
	}

	public void setRefereeLevel(String refereeLevel) {
		this.refereeLevel = refereeLevel;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
}
