init
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
package com.ruoyi.app.domain;
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
* 分享资源对象 app_resource_new
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-06-30
|
||||
*/
|
||||
public class AppResourceNew extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** id */
|
||||
private Long id;
|
||||
|
||||
/** 资源名称 */
|
||||
@Excel(name = "资源名称")
|
||||
private String resourceName;
|
||||
|
||||
/** 资源链接 */
|
||||
@Excel(name = "资源链接")
|
||||
private String resourceUrl;
|
||||
|
||||
/** 复制次数 */
|
||||
@Excel(name = "复制次数")
|
||||
private Integer copyNumber;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setResourceName(String resourceName)
|
||||
{
|
||||
this.resourceName = resourceName;
|
||||
}
|
||||
|
||||
public String getResourceName()
|
||||
{
|
||||
return resourceName;
|
||||
}
|
||||
public void setResourceUrl(String resourceUrl)
|
||||
{
|
||||
this.resourceUrl = resourceUrl;
|
||||
}
|
||||
|
||||
public String getResourceUrl()
|
||||
{
|
||||
return resourceUrl;
|
||||
}
|
||||
public void setCopyNumber(Integer copyNumber)
|
||||
{
|
||||
this.copyNumber = copyNumber;
|
||||
}
|
||||
|
||||
public Integer getCopyNumber()
|
||||
{
|
||||
return copyNumber;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("resourceName", getResourceName())
|
||||
.append("resourceUrl", getResourceUrl())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("copyNumber", getCopyNumber())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user