OrderMonthsEntity.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /**
  2. *
  3. */
  4. package cn.com.lzt.orders.entity;
  5. import java.util.Date;
  6. import javax.persistence.Column;
  7. import javax.persistence.Entity;
  8. import javax.persistence.Id;
  9. import javax.persistence.Table;
  10. /**
  11. * @author xzx
  12. *
  13. * 2018年9月13日
  14. *
  15. */
  16. @Entity
  17. @Table(name = "t_b_ordermonths", schema = "")
  18. @SuppressWarnings("serial")
  19. public class OrderMonthsEntity {
  20. private String id;
  21. private String ordermonthsName;
  22. private Date refDate;
  23. private String description;
  24. @Id
  25. public String getId() {
  26. return id;
  27. }
  28. public void setId(String id) {
  29. this.id = id;
  30. }
  31. @Column(name ="ordermonths_name",nullable=false,length=100)
  32. public String getOrdermonthsName() {
  33. return ordermonthsName;
  34. }
  35. public void setOrdermonthsName(String ordermonthsName) {
  36. this.ordermonthsName = ordermonthsName;
  37. }
  38. @Column(name ="ref_date",nullable=false,length=50)
  39. public Date getRefDate() {
  40. return refDate;
  41. }
  42. public void setRefDate(Date refDate) {
  43. this.refDate = refDate;
  44. }
  45. @Column(name="description",nullable=true,length=200)
  46. public String getDescription() {
  47. return description;
  48. }
  49. public void setDescription(String description) {
  50. this.description = description;
  51. }
  52. }