package com.gingersoft.gsa.cloud.database.bean;

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

import java.util.Date;

/**
 * 作者：ELEGANT_BIN
 * 版本：1.6.0
 * 创建日期：2020-05-08
 * 修订历史：2020-05-08
 * 描述：餐廳擴展設置表
 */
@Entity
public class ExpandInfo {

    @Property(nameInDb = "_id")
    @Id(autoincrement = true)
    private Long id;

    private int restaurantId;
    /**
     * 功能建名称
     */
    private String settingName;
    /**
     * 功能值
     */
    private Integer valueInt;
    private String valueChar;
    private String valueDatetime;
    /**
     * 功能说明
     */
    private String remark;


    @Generated(hash = 1553907136)
    public ExpandInfo(Long id, int restaurantId, String settingName, Integer valueInt,
            String valueChar, String valueDatetime, String remark) {
        this.id = id;
        this.restaurantId = restaurantId;
        this.settingName = settingName;
        this.valueInt = valueInt;
        this.valueChar = valueChar;
        this.valueDatetime = valueDatetime;
        this.remark = remark;
    }

    @Generated(hash = 9429432)
    public ExpandInfo() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getRestaurantId() {
        return restaurantId;
    }

    public void setRestaurantId(int restaurantId) {
        this.restaurantId = restaurantId;
    }


    public String getSettingName() {
        return settingName;
    }

    public void setSettingName(String settingName) {
        this.settingName = settingName;
    }

    public Integer getValueInt() {
        return valueInt;
    }

    public void setValueInt(Integer valueInt) {
        this.valueInt = valueInt;
    }

    public String getValueChar() {
        return valueChar;
    }

    public void setValueChar(String valueChar) {
        this.valueChar = valueChar;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getValueDatetime() {
        return valueDatetime;
    }

    public void setValueDatetime(String valueDatetime) {
        this.valueDatetime = valueDatetime;
    }
}
