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/21.
 */
@Entity
public class EyeHistroyBean{

	@Id(autoincrement = true)
	private Long id;
	private double left_eye;
	private double right_eye;
	private int left_line;
	private int right_line;
	@NotNull
	@Unique
	private long created_time;
	private int type;

	@Generated(hash = 1086901756)
	public EyeHistroyBean(Long id, double left_eye, double right_eye, int left_line,
						  int right_line, long created_time, int type) {
		this.id = id;
		this.left_eye = left_eye;
		this.right_eye = right_eye;
		this.left_line = left_line;
		this.right_line = right_line;
		this.created_time = created_time;
		this.type = type;
	}

	@Generated(hash = 913374113)
	public EyeHistroyBean() {
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = 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 getLeft_line() {
		return left_line;
	}

	public void setLeft_line(int left_line) {
		this.left_line = left_line;
	}

	public int getRight_line() {
		return right_line;
	}

	public void setRight_line(int right_line) {
		this.right_line = right_line;
	}

	public long getCreated_time() {
		return created_time;
	}

	public void setCreated_time(long created_time) {
		this.created_time = created_time;
	}

	public int getType() {
		return type;
	}

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