package com.ycl.entity;
|
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import java.io.Serializable;
|
import java.time.LocalDate;
|
|
/**
|
* ip白名单表(NewsIp)表实体类
|
*
|
* @author makejava
|
* @since 2022-11-16 16:52:30
|
*/
|
@SuppressWarnings("serial")
|
public class NewsIp extends Model<NewsIp> {
|
|
private Integer id;
|
//ip地址
|
private String ipAddess;
|
//创建时间
|
private LocalDate createTime;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getIpAddess() {
|
return ipAddess;
|
}
|
|
public void setIpAddess(String ipAddess) {
|
this.ipAddess = ipAddess;
|
}
|
|
public LocalDate getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(LocalDate createTime) {
|
this.createTime = createTime;
|
}
|
|
/**
|
* 获取主键值
|
*
|
* @return 主键值
|
*/
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
}
|