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 lombok.Data;

/**
 * 作者：ELEGANT_BIN
 * 版本：1.6.0
 * 创建日期：2020-07-10
 * 修订历史：2020-07-10
 * 描述：
 */
@Entity
@Data
public class Language {

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

    @NotNull
    /**功能名稱*/
    private String functionName;
    /**語言id對應的功能名稱*/
    private String languageName;

    @Generated(hash = 2090158990)
    public Language(Long id, @NotNull String functionName, String languageName) {
        this.id = id;
        this.functionName = functionName;
        this.languageName = languageName;
    }
    @Generated(hash = 1478671802)
    public Language() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getFunctionName() {
        return this.functionName;
    }
    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }
    public String getLanguageName() {
        return this.languageName;
    }
    public void setLanguageName(String languageName) {
        this.languageName = languageName;
    }


}
