TbVacationLimit.java 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. package com.ssj.bean.curator;
  2. import com.alibaba.fastjson.annotation.JSONField;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import com.ssj.bean.common.framework.core.domain.BaseEntity;
  5. import com.ssj.framework.basic.utils.DateHelper;
  6. import org.springframework.format.annotation.DateTimeFormat;
  7. import javax.persistence.Entity;
  8. import javax.persistence.Table;
  9. import javax.persistence.Transient;
  10. import java.util.Date;
  11. @Entity
  12. @Table(name = "tb_vacation_limit")
  13. public class TbVacationLimit extends BaseEntity {
  14. /**
  15. * id varchar(36) not null,
  16. * lib_id varchar(36) not null,
  17. * type int not null comment '1-寒假、2-五一、3-暑假、4国庆',
  18. * start_date date comment '假期开始时间',
  19. * end_date date comment '假期结束时间',
  20. * update_time datetime comment '数据修改时间',
  21. * user_id varchar(36) comment '修改人userid',
  22. * limit_year varchar(4) comment '年份',
  23. */
  24. private String libId;
  25. private int type;
  26. private Date startDate;
  27. private Date endDate;
  28. private Date updateTime;
  29. private String userId;
  30. private String limitYear;
  31. private Integer setState; //1关闭 2-开启
  32. private String limitMsg; //限制文案
  33. public String getLibId() {
  34. return libId;
  35. }
  36. public void setLibId(String libId) {
  37. this.libId = libId;
  38. }
  39. public int getType() {
  40. return type;
  41. }
  42. public void setType(int type) {
  43. this.type = type;
  44. }
  45. public Date getStartDate() {
  46. return startDate;
  47. }
  48. public void setStartDate(Date startDate) {
  49. this.startDate = startDate;
  50. }
  51. public Date getEndDate() {
  52. return endDate;
  53. }
  54. public void setEndDate(Date endDate) {
  55. this.endDate = endDate;
  56. }
  57. public Date getUpdateTime() {
  58. return updateTime;
  59. }
  60. public void setUpdateTime(Date updateTime) {
  61. this.updateTime = updateTime;
  62. }
  63. public String getUserId() {
  64. return userId;
  65. }
  66. public void setUserId(String userId) {
  67. this.userId = userId;
  68. }
  69. public String getLimitYear() {
  70. return limitYear;
  71. }
  72. public void setLimitYear(String limitYear) {
  73. this.limitYear = limitYear;
  74. }
  75. public Integer getSetState() {
  76. return setState;
  77. }
  78. public void setSetState(Integer setState) {
  79. this.setState = setState;
  80. }
  81. public String getLimitMsg() {
  82. return limitMsg;
  83. }
  84. public void setLimitMsg(String limitMsg) {
  85. this.limitMsg = limitMsg;
  86. }
  87. }