package com.oo.eye.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Unique;

/**
 * Created by xucon on 2017/12/26.
 */
@Entity
public class EyeChartsBean {

	@Id(autoincrement = true)
	private Long charts_id;
	private double left_eye;
	private double right_eye;
	private int type;
	@NotNull
	@Unique
	private String created_month;

	@Generated(hash = 482229128)
	public EyeChartsBean(Long charts_id, double left_eye, double right_eye,
						 int type, @NotNull String created_month) {
		this.charts_id = charts_id;
		this.left_eye = left_eye;
		this.right_eye = right_eye;
		this.type = type;
		this.created_month = created_month;
	}

	@Generated(hash = 1551796263)
	public EyeChartsBean() {
	}

	public Long getCharts_id() {
		return charts_id;
	}

	public void setCharts_id(Long charts_id) {
		this.charts_id = charts_id;
	}

	public double getLeft_eye() {
		return left_eye;
	}

	public void setLeft_eye(double left_eye) {
		this.left_eye = left_eye;
	}

	public double getRight_eye() {
		return right_eye;
	}

	public void setRight_eye(double right_eye) {
		this.right_eye = right_eye;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getCreated_month() {
		return created_month;
	}

	public void setCreated_month(String created_month) {
		this.created_month = created_month;
	}

}
