HomeFriendLink.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. package com.sf.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import java.io.Serializable;
  6. import java.time.LocalDateTime;
  7. /**
  8. * <p>
  9. * 友情链接
  10. * </p>
  11. *
  12. * @author baomidou
  13. * @since 2024-06-05
  14. */
  15. @TableName("home_friend_link")
  16. public class HomeFriendLink implements Serializable {
  17. private static final long serialVersionUID = 1L;
  18. @TableId(value = "id", type = IdType.AUTO)
  19. private Long id;
  20. /**
  21. * 链接名
  22. */
  23. private String linkName;
  24. /**
  25. * 链接url
  26. */
  27. private String linkUrl;
  28. /**
  29. * 排序号
  30. */
  31. private Byte sort;
  32. /**
  33. * 是否开启;0-不开启 1-开启
  34. */
  35. private Byte isOpen;
  36. /**
  37. * 创建时间
  38. */
  39. private LocalDateTime createTime;
  40. /**
  41. * 更新时间
  42. */
  43. private LocalDateTime updateTime;
  44. public Long getId() {
  45. return id;
  46. }
  47. public void setId(Long id) {
  48. this.id = id;
  49. }
  50. public String getLinkName() {
  51. return linkName;
  52. }
  53. public void setLinkName(String linkName) {
  54. this.linkName = linkName;
  55. }
  56. public String getLinkUrl() {
  57. return linkUrl;
  58. }
  59. public void setLinkUrl(String linkUrl) {
  60. this.linkUrl = linkUrl;
  61. }
  62. public Byte getSort() {
  63. return sort;
  64. }
  65. public void setSort(Byte sort) {
  66. this.sort = sort;
  67. }
  68. public Byte getIsOpen() {
  69. return isOpen;
  70. }
  71. public void setIsOpen(Byte isOpen) {
  72. this.isOpen = isOpen;
  73. }
  74. public LocalDateTime getCreateTime() {
  75. return createTime;
  76. }
  77. public void setCreateTime(LocalDateTime createTime) {
  78. this.createTime = createTime;
  79. }
  80. public LocalDateTime getUpdateTime() {
  81. return updateTime;
  82. }
  83. public void setUpdateTime(LocalDateTime updateTime) {
  84. this.updateTime = updateTime;
  85. }
  86. @Override
  87. public String toString() {
  88. return "HomeFriendLink{" +
  89. "id = " + id +
  90. ", linkName = " + linkName +
  91. ", linkUrl = " + linkUrl +
  92. ", sort = " + sort +
  93. ", isOpen = " + isOpen +
  94. ", createTime = " + createTime +
  95. ", updateTime = " + updateTime +
  96. "}";
  97. }
  98. }