149 lines
3.4 KiB
Java
149 lines
3.4 KiB
Java
package com.ruoyi.system.domain;
|
|
|
|
import java.util.Date;
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
/**
|
|
* 应用管理对象 apps
|
|
*
|
|
* @author luqj
|
|
* @date 2025-11-25
|
|
*/
|
|
@TableName(value = "apps")
|
|
public class AppsPlus implements Serializable
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** 主键 */
|
|
@TableId(type = IdType.INPUT)
|
|
private Long id;
|
|
/** 用户 */
|
|
@Excel(name = "用户")
|
|
private Long userId;
|
|
/** 名称 */
|
|
@Excel(name = "名称")
|
|
private String name;
|
|
/** 描述 */
|
|
@Excel(name = "描述")
|
|
private String description;
|
|
/** 状态 */
|
|
@Excel(name = "状态")
|
|
private Integer status;
|
|
|
|
@Excel(name = "归集地址")
|
|
private String distTokenAddress;
|
|
/** 创建时间 */
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
private Date createdAt;
|
|
/** 更新时间 */
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
private Date updatedAt;
|
|
/** 删除时间 */
|
|
private Date deletedAt;
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
public void setUserId(Long userId)
|
|
{
|
|
this.userId = userId;
|
|
}
|
|
|
|
public Long getUserId()
|
|
{
|
|
return userId;
|
|
}
|
|
public void setName(String name)
|
|
{
|
|
this.name = name;
|
|
}
|
|
|
|
public String getName()
|
|
{
|
|
return name;
|
|
}
|
|
public void setDescription(String description)
|
|
{
|
|
this.description = description;
|
|
}
|
|
|
|
public String getDescription()
|
|
{
|
|
return description;
|
|
}
|
|
public void setStatus(Integer status)
|
|
{
|
|
this.status = status;
|
|
}
|
|
|
|
public Integer getStatus()
|
|
{
|
|
return status;
|
|
}
|
|
public void setCreatedAt(Date createdAt)
|
|
{
|
|
this.createdAt = createdAt;
|
|
}
|
|
|
|
public Date getCreatedAt()
|
|
{
|
|
return createdAt;
|
|
}
|
|
public void setUpdatedAt(Date updatedAt)
|
|
{
|
|
this.updatedAt = updatedAt;
|
|
}
|
|
|
|
public Date getUpdatedAt()
|
|
{
|
|
return updatedAt;
|
|
}
|
|
public void setDeletedAt(Date deletedAt)
|
|
{
|
|
this.deletedAt = deletedAt;
|
|
}
|
|
|
|
public Date getDeletedAt()
|
|
{
|
|
return deletedAt;
|
|
}
|
|
|
|
public String getDistTokenAddress() {
|
|
return distTokenAddress;
|
|
}
|
|
|
|
public void setDistTokenAddress(String distTokenAddress) {
|
|
this.distTokenAddress = distTokenAddress;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("userId", getUserId())
|
|
.append("name", getName())
|
|
.append("description", getDescription())
|
|
.append("status", getStatus())
|
|
.append("createdAt", getCreatedAt())
|
|
.append("updatedAt", getUpdatedAt())
|
|
.append("deletedAt", getDeletedAt())
|
|
.toString();
|
|
}
|
|
}
|