package com.huimv.eartag.dao.entity;

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

@Entity
@Table(name = "eartag_config_properties")
public class EartagConfigPropertiesEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Integer id;

    @Column(name = "pro_key")
    private String proKey;

    @Column(name = "pro_val1")
    private String proVal1;

    @Column(name = "pro_sort", nullable = false)
    private String proSort;

    @Column(name = "pro_val2")
    private String proVal2;

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

    public Integer getId() {
        return id;
    }

    public void setProKey(String proKey) {
        this.proKey = proKey;
    }

    public String getProKey() {
        return proKey;
    }

    public void setProVal1(String proVal1) {
        this.proVal1 = proVal1;
    }

    public String getProVal1() {
        return proVal1;
    }

    public void setProSort(String proSort) {
        this.proSort = proSort;
    }

    public String getProSort() {
        return proSort;
    }

    public void setProVal2(String proVal2) {
        this.proVal2 = proVal2;
    }

    public String getProVal2() {
        return proVal2;
    }

    @Override
    public String toString() {
        return "EartagConfigPropertiesEntity{" +
                "id=" + id + '\'' +
                "proKey=" + proKey + '\'' +
                "proVal1=" + proVal1 + '\'' +
                "proSort=" + proSort + '\'' +
                "proVal2=" + proVal2 + '\'' +
                '}';
    }
}
