package com.sunzee.model.domain;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

/**
 * @author whw
 * @time 2019/4/8
 * @Description 订单表
 */
@Entity
public class OrderBean {
    @Id(autoincrement = true)
    private Long id;
    @Property(nameInDb = "NAME")
    private String name;
    @Property(nameInDb = "TYPE")
    private int type;
    @Property(nameInDb = "PRICE")
    private double price;
    @Property(nameInDb = "TIME")
    private long time;
    @Generated(hash = 429738597)
    public OrderBean(Long id, String name, int type, double price, long time) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.price = price;
        this.time = time;
    }
    @Generated(hash = 1725534308)
    public OrderBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public double getPrice() {
        return this.price;
    }
    public void setPrice(double price) {
        this.price = price;
    }
    public long getTime() {
        return this.time;
    }
    public void setTime(long time) {
        this.time = time;
    }

}
