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; //食品ID
    private int comId;//套餐ID
    private int seqNo;
    private int 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 = 1268234634)
    public FoodCombo(Long id, Long fid, int comId, int seqNo, int 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() {
    }

//    private String defmodifier;
//    private String excmodifier;
//    /**
//     * 自定義字段
//     */
//    @Transient
//    private String name;
//    @Transient
//    private long parentId;
//    /**
//     * 價格
//     */
//    @Transient
//    private double price = 0.00;
//    /**
//     * 是否自動展開
//     */
//    @Transient
//    private int autoMode = 0;
//    /**
//     * 是否备注细项
//     */
//    @Transient
//    private boolean isModifier;
//    /**
//     * 背景顏色
//     */
//    @Transient
//    private int bgColor = Color.parseColor("#067878");
//    /**
//     * 字體顏色
//     */
//    @Transient
//    private int fontColor = Color.parseColor("#FFFFFF");
//    /**
//     * 套餐細項
//     */
//    @Transient
//    private Modifier modifier;


    public Long getId() {
        return id;
    }

    public Long getFid() {
        return fid;
    }

    public int getComId() {
        return comId;
    }

    public int getSeqNo() {
        return seqNo;
    }

    public int 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(int 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;
    }
}
