BillType.java
张创琦
package com.zcq.entity;
import javax.persistence.*;
import java.io.Serializable;
@Table(name = "bill_type_")
public class BillType implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id_")
private Long id;
@Column(name= "name_")
private String name;
@Override
public String toString() {
return "BillType{" +
"id=" + id +
", name='" + name + '\'' +
'}';
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}