123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- package com.sf.entity;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import java.io.Serializable;
- import java.time.LocalDateTime;
- /**
- * <p>
- * 友情链接
- * </p>
- *
- * @author baomidou
- * @since 2024-06-05
- */
- @TableName("home_friend_link")
- public class HomeFriendLink implements Serializable {
- private static final long serialVersionUID = 1L;
- @TableId(value = "id", type = IdType.AUTO)
- private Long id;
- /**
- * 链接名
- */
- private String linkName;
- /**
- * 链接url
- */
- private String linkUrl;
- /**
- * 排序号
- */
- private Byte sort;
- /**
- * 是否开启;0-不开启 1-开启
- */
- private Byte isOpen;
- /**
- * 创建时间
- */
- private LocalDateTime createTime;
- /**
- * 更新时间
- */
- private LocalDateTime updateTime;
- public Long getId() {
- return id;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public String getLinkName() {
- return linkName;
- }
- public void setLinkName(String linkName) {
- this.linkName = linkName;
- }
- public String getLinkUrl() {
- return linkUrl;
- }
- public void setLinkUrl(String linkUrl) {
- this.linkUrl = linkUrl;
- }
- public Byte getSort() {
- return sort;
- }
- public void setSort(Byte sort) {
- this.sort = sort;
- }
- public Byte getIsOpen() {
- return isOpen;
- }
- public void setIsOpen(Byte isOpen) {
- this.isOpen = isOpen;
- }
- public LocalDateTime getCreateTime() {
- return createTime;
- }
- public void setCreateTime(LocalDateTime createTime) {
- this.createTime = createTime;
- }
- public LocalDateTime getUpdateTime() {
- return updateTime;
- }
- public void setUpdateTime(LocalDateTime updateTime) {
- this.updateTime = updateTime;
- }
- @Override
- public String toString() {
- return "HomeFriendLink{" +
- "id = " + id +
- ", linkName = " + linkName +
- ", linkUrl = " + linkUrl +
- ", sort = " + sort +
- ", isOpen = " + isOpen +
- ", createTime = " + createTime +
- ", updateTime = " + updateTime +
- "}";
- }
- }
|