TBBusinesstrip.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. package jeecg.workflow.entity.bus;
  2. import java.util.Date;
  3. import javax.persistence.Column;
  4. import javax.persistence.Entity;
  5. import javax.persistence.PrimaryKeyJoinColumn;
  6. import javax.persistence.Table;
  7. import javax.persistence.Temporal;
  8. import javax.persistence.TemporalType;
  9. import org.jeecgframework.core.annotation.JeecgEntityTitle;
  10. import org.jeecgframework.workflow.pojo.base.TSBaseBus;
  11. /**
  12. * 出差申请表
  13. */
  14. @Entity
  15. @Table(name = "t_b_businesstrip")
  16. @PrimaryKeyJoinColumn(name = "id")
  17. @JeecgEntityTitle(name="出差申请表")
  18. public class TBBusinesstrip extends TSBaseBus implements java.io.Serializable {
  19. private static final long serialVersionUID = 1L;
  20. private String bustriplocale;//出差地址
  21. private Short peoplenum;//出差人数
  22. private Date begintime;//开始时间
  23. private Date endtime;//返回时间
  24. private Short goouttype;//出行方式
  25. private String bustripreson;//出差事由
  26. private Double bustripmoney;//出差经费
  27. @Column(name = "bustriplocale", length = 100)
  28. public String getBustriplocale() {
  29. return this.bustriplocale;
  30. }
  31. public void setBustriplocale(String bustriplocale) {
  32. this.bustriplocale = bustriplocale;
  33. }
  34. @Column(name = "peoplenum")
  35. public Short getPeoplenum() {
  36. return this.peoplenum;
  37. }
  38. public void setPeoplenum(Short peoplenum) {
  39. this.peoplenum = peoplenum;
  40. }
  41. @Temporal(TemporalType.TIMESTAMP)
  42. @Column(name = "begintime")
  43. public Date getBegintime() {
  44. return this.begintime;
  45. }
  46. public void setBegintime(Date begintime) {
  47. this.begintime = begintime;
  48. }
  49. @Temporal(TemporalType.TIMESTAMP)
  50. @Column(name = "endtime")
  51. public Date getEndtime() {
  52. return this.endtime;
  53. }
  54. public void setEndtime(Date endtime) {
  55. this.endtime = endtime;
  56. }
  57. @Column(name = "goouttype")
  58. public Short getGoouttype() {
  59. return this.goouttype;
  60. }
  61. public void setGoouttype(Short goouttype) {
  62. this.goouttype = goouttype;
  63. }
  64. @Column(name = "bustripreson", length = 2000)
  65. public String getBustripreson() {
  66. return this.bustripreson;
  67. }
  68. public void setBustripreson(String bustripreson) {
  69. this.bustripreson = bustripreson;
  70. }
  71. @Column(name = "bustripmoney", scale = 0)
  72. public Double getBustripmoney() {
  73. return this.bustripmoney;
  74. }
  75. public void setBustripmoney(Double bustripmoney) {
  76. this.bustripmoney = bustripmoney;
  77. }
  78. }