/** * */ package cn.com.lzt.orders.entity; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; /** * @author xzx * * 2018年9月13日 * */ @Entity @Table(name = "t_b_ordermonths", schema = "") @SuppressWarnings("serial") public class OrderMonthsEntity { private String id; private String ordermonthsName; private Date refDate; private String description; @Id public String getId() { return id; } public void setId(String id) { this.id = id; } @Column(name ="ordermonths_name",nullable=false,length=100) public String getOrdermonthsName() { return ordermonthsName; } public void setOrdermonthsName(String ordermonthsName) { this.ordermonthsName = ordermonthsName; } @Column(name ="ref_date",nullable=false,length=50) public Date getRefDate() { return refDate; } public void setRefDate(Date refDate) { this.refDate = refDate; } @Column(name="description",nullable=true,length=200) public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } }