From 8a373a66936407266e860a19c0d44c406baae7cc Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 23 十二月 2022 11:11:18 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/entity/sys/DownlogEntity.java | 44 ++++++++++++++++---------------------------- 1 files changed, 16 insertions(+), 28 deletions(-) diff --git a/src/main/java/com/lf/server/entity/sys/DownlogEntity.java b/src/main/java/com/lf/server/entity/sys/DownlogEntity.java index d491dab..3ca388e 100644 --- a/src/main/java/com/lf/server/entity/sys/DownlogEntity.java +++ b/src/main/java/com/lf/server/entity/sys/DownlogEntity.java @@ -1,12 +1,5 @@ package com.lf.server.entity.sys; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; -import lombok.AllArgsConstructor; -import lombok.Data; - import java.io.Serializable; import java.sql.Timestamp; @@ -14,52 +7,47 @@ * 涓嬭浇鏃ュ織 * @author WWW */ -@Data -@AllArgsConstructor -@TableName("lf.sys_downlog") public class DownlogEntity implements Serializable { - private static final long serialVersionUID = 2791055269920047470L; + private static final long serialVersionUID = -295796504381949312L; - @TableId(type = IdType.AUTO) - private Integer id; + private int id; - private Integer downid; + private int downid; private String name; - private Integer type; + private int type; private double sizes; private String ip; - private Integer createUser; + private int createUser; private Timestamp createTime; - private Integer updateUser; + private int updateUser; private Timestamp updateTime; - @TableField(value = "fn_uname(create_user)") private String createName; public DownlogEntity() { } - public Integer getId() { + public int getId() { return id; } - public void setId(Integer id) { + public void setId(int id) { this.id = id; } - public Integer getDownid() { + public int getDownid() { return downid; } - public void setDownid(Integer downid) { + public void setDownid(int downid) { this.downid = downid; } @@ -71,11 +59,11 @@ this.name = name; } - public Integer getType() { + public int getType() { return type; } - public void setType(Integer type) { + public void setType(int type) { this.type = type; } @@ -95,11 +83,11 @@ this.ip = ip; } - public Integer getCreateUser() { + public int getCreateUser() { return createUser; } - public void setCreateUser(Integer createUser) { + public void setCreateUser(int createUser) { this.createUser = createUser; } @@ -111,11 +99,11 @@ this.createTime = createTime; } - public Integer getUpdateUser() { + public int getUpdateUser() { return updateUser; } - public void setUpdateUser(Integer updateUser) { + public void setUpdateUser(int updateUser) { this.updateUser = updateUser; } -- Gitblit v1.9.3