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;

/**
 * 作者：ELEGANT_BIN
 * 版本：1.6.0
 * 创建日期：2020-01-02
 * 修订历史：2020-01-02
 * 描述：
 */

@Entity
public class Function {


    @Id(autoincrement = true)
    private Long id;

    @NotNull
    private int functionId;
    private int status;
    private long effectiveTime;
    private String resName;
    private String resUrl;
    private String imageURL;


    @Generated(hash = 1658242544)
    public Function(Long id, int functionId, int status, long effectiveTime,
            String resName, String resUrl, String imageURL) {
        this.id = id;
        this.functionId = functionId;
        this.status = status;
        this.effectiveTime = effectiveTime;
        this.resName = resName;
        this.resUrl = resUrl;
        this.imageURL = imageURL;
    }

    @Generated(hash = 133141990)
    public Function() {
    }


    public Long getId() {
        return id;
    }

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

    public int getFunctionId() {
        return functionId;
    }

    public void setFunctionId(int functionId) {
        this.functionId = functionId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getEffectiveTime() {
        return effectiveTime;
    }

    public void setEffectiveTime(long effectiveTime) {
        this.effectiveTime = effectiveTime;
    }

    public String getResName() {
        return resName;
    }

    public void setResName(String resName) {
        this.resName = resName;
    }

    public String getResUrl() {
        return resUrl;
    }

    public void setResUrl(String resUrl) {
        this.resUrl = resUrl;
    }

    public String getImageURL() {
        return imageURL;
    }

    public void setImageURL(String imageURL) {
        this.imageURL = imageURL;
    }
}
