package com.dashitech.businessdata.entity;

import com.dashitech.utils.I18n;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created by chi on 2020/8/25.
 */
@Entity
@Table(name = "itsm_system_configurations")
public class SystemConfigureEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name="id",length = 20)
    private Long id;

    @I18n("字段名")
    @Column(name="keyconfig")
    private String keyconfig;

    @I18n("字段中文名")
    @Column(name="label")
    private String label;

    @I18n("字段值")
    @Column(name="valueconfig")
    private String valueconfig;

    @I18n("排序")
    @Column(name="orders")
    private String orders;

    public Long getId() {
        return id;
    }

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

    public String getKeyconfig() {
        return keyconfig;
    }

    public void setKeyconfig(String keyconfig) {
        this.keyconfig = keyconfig;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getValueconfig() {
        return valueconfig;
    }

    public void setValueconfig(String valueconfig) {
        this.valueconfig = valueconfig;
    }

    public String getOrders() {
        return orders;
    }

    public void setOrders(String orders) {
        this.orders = orders;
    }
}
