package com.gingersoft.gsa.cloud.database.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.Property;

import java.util.List;

/**
 * 作者：ELEGANT_BIN
 * 版本：1.6.0
 * 创建日期：2020-02-18
 * 修订历史：2020-02-18
 * 描述：
 */
@Entity
public class FoodModifier {


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

    @NotNull
    private Long mid;
    private Long fid;
    private int minQty;
    private int maxQty;
    private int seqNo;
    private String createTime;
    private String createBy;
    private String updateTime;
    private int showType;
    private int autoNext;
    private int multipleSelect;
    private String defmodifier;
    private String excmodifier;
    private int conditions;
    private int isRT;
    private int restaurantId;
    private int preferentialPrice;
    private int posId;


    @Generated(hash = 1385518392)
    public FoodModifier() {
    }

    @Generated(hash = 101316338)
    public FoodModifier(Long id, @NotNull Long mid, Long fid, int minQty,
            int maxQty, int seqNo, String createTime, String createBy,
            String updateTime, int showType, int autoNext, int multipleSelect,
            String defmodifier, String excmodifier, int conditions, int isRT,
            int restaurantId, int preferentialPrice, int posId) {
        this.id = id;
        this.mid = mid;
        this.fid = fid;
        this.minQty = minQty;
        this.maxQty = maxQty;
        this.seqNo = seqNo;
        this.createTime = createTime;
        this.createBy = createBy;
        this.updateTime = updateTime;
        this.showType = showType;
        this.autoNext = autoNext;
        this.multipleSelect = multipleSelect;
        this.defmodifier = defmodifier;
        this.excmodifier = excmodifier;
        this.conditions = conditions;
        this.isRT = isRT;
        this.restaurantId = restaurantId;
        this.preferentialPrice = preferentialPrice;
        this.posId = posId;
    }

    public Long getId() {
        return id;
    }

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

    public Long getFid() {
        return fid;
    }

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

    public Long getMid() {
        return mid;
    }

    public void setMid(Long mid) {
        this.mid = mid;
    }


    public int getMinQty() {
        return minQty;
    }

    public void setMinQty(int minQty) {
        this.minQty = minQty;
    }

    public int getMaxQty() {
        return maxQty;
    }

    public void setMaxQty(int maxQty) {
        this.maxQty = maxQty;
    }

    public int getSeqNo() {
        return seqNo;
    }

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

    public String getCreateTime() {
        return createTime;
    }

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

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

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

    public int getShowType() {
        return showType;
    }

    public void setShowType(int showType) {
        this.showType = showType;
    }

    public int getAutoNext() {
        return autoNext;
    }

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

    public int getMultipleSelect() {
        return multipleSelect;
    }

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

    public String getDefmodifier() {
        return defmodifier;
    }

    public void setDefmodifier(String defmodifier) {
        this.defmodifier = defmodifier;
    }

    public String getExcmodifier() {
        return excmodifier;
    }

    public void setExcmodifier(String excmodifier) {
        this.excmodifier = excmodifier;
    }

    public int getConditions() {
        return conditions;
    }

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

    public int getIsRT() {
        return isRT;
    }

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

    public int getRestaurantId() {
        return restaurantId;
    }

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

    public int getPreferentialPrice() {
        return preferentialPrice;
    }

    public void setPreferentialPrice(int preferentialPrice) {
        this.preferentialPrice = preferentialPrice;
    }

    public int getPosId() {
        return posId;
    }

    public void setPosId(int posId) {
        this.posId = posId;
    }
}
