OrgTechCenter.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. package com.goafanti.common.model;
  2. import java.util.Date;
  3. import org.apache.commons.lang3.time.DateFormatUtils;
  4. import com.fasterxml.jackson.annotation.JsonIgnore;
  5. public class OrgTechCenter {
  6. private String id;
  7. private String uid;
  8. /**
  9. * 成立时间
  10. */
  11. private Date foundingTime;
  12. /**
  13. * 负责人
  14. */
  15. private String principal;
  16. /**
  17. * 制度目录URL
  18. */
  19. private String systemUrl;
  20. /**
  21. * 删除标记
  22. */
  23. private Integer deletedSign;
  24. /**
  25. * 制度目录
  26. */
  27. private String systemCatalog;
  28. public String getId() {
  29. return id;
  30. }
  31. public void setId(String id) {
  32. this.id = id;
  33. }
  34. public String getUid() {
  35. return uid;
  36. }
  37. public void setUid(String uid) {
  38. this.uid = uid;
  39. }
  40. public Date getFoundingTime() {
  41. return foundingTime;
  42. }
  43. public void setFoundingTime(Date foundingTime) {
  44. this.foundingTime = foundingTime;
  45. }
  46. public String getPrincipal() {
  47. return principal;
  48. }
  49. public void setPrincipal(String principal) {
  50. this.principal = principal;
  51. }
  52. public String getSystemUrl() {
  53. return systemUrl;
  54. }
  55. public void setSystemUrl(String systemUrl) {
  56. this.systemUrl = systemUrl;
  57. }
  58. @JsonIgnore
  59. public Integer getDeletedSign() {
  60. return deletedSign;
  61. }
  62. public void setDeletedSign(Integer deletedSign) {
  63. this.deletedSign = deletedSign;
  64. }
  65. public String getSystemCatalog() {
  66. return systemCatalog;
  67. }
  68. public void setSystemCatalog(String systemCatalog) {
  69. this.systemCatalog = systemCatalog;
  70. }
  71. public String getFoundingTimeFormattedDate(){
  72. if (this.foundingTime == null) {
  73. return null;
  74. } else {
  75. return DateFormatUtils.format(this.getFoundingTime(), "yyyy-MM-dd");
  76. }
  77. }
  78. public void setFoundingTimeFormattedDate(String foundingTimeFormattedDate){
  79. }
  80. }