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

import com.google.gson.annotations.SerializedName;

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

/**
 * 作者：ELEGANT_BIN
 * 版本：1.6.0
 * 创建日期：2020-02-18
 * 修订历史：2020-02-18
 * 描述：食品套餐關係
 */
@Entity
public class FoodCombo {

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

    private Long fid;
    private int comId;
    private int seqNo;
    private double diffAmt;
    /**套餐最大選擇數*/
    private int selectQty;
    private String createTime;
    private String defModifier;
    private String excModifier;
    private int autoNext;
    private int multipleSelect;
    private String updateTime;
    private int conditions;
    private int isRT;
    private int deletes;
    private int restaurantId;


    @Generated(hash = 531762563)
    public FoodCombo(Long id, Long fid, int comId, int seqNo, double diffAmt,
            int selectQty, String createTime, String defModifier,
            String excModifier, int autoNext, int multipleSelect, String updateTime,
            int conditions, int isRT, int deletes, int restaurantId) {
        this.id = id;
        this.fid = fid;
        this.comId = comId;
        this.seqNo = seqNo;
        this.diffAmt = diffAmt;
        this.selectQty = selectQty;
        this.createTime = createTime;
        this.defModifier = defModifier;
        this.excModifier = excModifier;
        this.autoNext = autoNext;
        this.multipleSelect = multipleSelect;
        this.updateTime = updateTime;
        this.conditions = conditions;
        this.isRT = isRT;
        this.deletes = deletes;
        this.restaurantId = restaurantId;
    }

    @Generated(hash = 1913989231)
    public FoodCombo() {
    }


    public Long getId() {
        return id;
    }

    public Long getFid() {
        return fid;
    }

    public int getComId() {
        return comId;
    }

    public int getSeqNo() {
        return seqNo;
    }

    public double getDiffAmt() {
        return diffAmt;
    }

    public int getSelectQty() {
        return selectQty;
    }

    public String getCreateTime() {
        return createTime;
    }

    public String getDefModifier() {
        return defModifier;
    }

    public String getExcModifier() {
        return excModifier;
    }

    public int getAutoNext() {
        return autoNext;
    }

    public int getMultipleSelect() {
        return multipleSelect;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public int getConditions() {
        return conditions;
    }

    public int getIsRT() {
        return isRT;
    }

    public int getDeletes() {
        return deletes;
    }

    public int getRestaurantId() {
        return restaurantId;
    }

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

    public void setFid(Long fid) {
        this.fid = fid;
    }

    public void setComId(int comId) {
        this.comId = comId;
    }

    public void setSeqNo(int seqNo) {
        this.seqNo = seqNo;
    }

    public void setDiffAmt(double diffAmt) {
        this.diffAmt = diffAmt;
    }

    public void setSelectQty(int selectQty) {
        this.selectQty = selectQty;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setDefModifier(String defModifier) {
        this.defModifier = defModifier;
    }

    public void setExcModifier(String excModifier) {
        this.excModifier = excModifier;
    }

    public void setAutoNext(int autoNext) {
        this.autoNext = autoNext;
    }

    public void setMultipleSelect(int multipleSelect) {
        this.multipleSelect = multipleSelect;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public void setConditions(int conditions) {
        this.conditions = conditions;
    }

    public void setIsRT(int isRT) {
        this.isRT = isRT;
    }

    public void setDeletes(int deletes) {
        this.deletes = deletes;
    }

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