Files
love-nav/src/main/java/com/lovenav/entity/Banners.java
2023-12-22 14:03:59 +08:00

97 lines
1.6 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.lovenav.entity;
import java.io.Serializable;
import java.util.Date;
import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
/**
* ln_banners
*/
@Data
public class Banners implements Serializable {
public Banners(){
this.bannerStatus = 0;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getImgUrl() {
return imgUrl;
}
public void setImgUrl(String imgUrl) {
this.imgUrl = imgUrl;
}
public Integer getWeigh() {
return weigh;
}
public void setWeigh(Integer weigh) {
this.weigh = weigh;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Byte getBannerStatus() {
return bannerStatus;
}
public void setBannerStatus(Byte bannerStatus) {
this.bannerStatus = bannerStatus;
}
public Date getCreatetime() {
return createtime;
}
public void setCreatetime(Date createtime) {
this.createtime = createtime;
}
/**
* id
*/
private Integer id;
/**
* 图片url
*/
private String imgUrl;
/**
* 权重
*/
private Integer weigh;
/**
* 跳转链接
*/
private String url;
/**
* 状态0有效/1无效
*/
private Byte bannerStatus;
/**
* 创建时间
*/
private Date createtime;
private static final long serialVersionUID = 1L;
}