Files
railwaysystem/ruoyi-device/src/main/java/com/ruoyi/device/domain/TrainBookSnapshot.java
T

180 lines
3.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.ruoyi.device.domain;
import java.util.Date;
import com.ruoyi.device.domain.BaseDomain;
import com.ruoyi.device.util.ToStringBuilder;
import com.ruoyi.device.util.ToStringStyle;
/**
* 图书快照对象 train_book_snapshot
*
* @author ruoyi
* @date 2026-10-20
*/
public class TrainBookSnapshot extends BaseDomain
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 图书永久ID,永不复用 */
private String bookId;
/** 书名 */
private String bookTitle;
/** SAFETY专业/REGULATION规章等 */
private String bookCategory;
/** 简介 */
private String bookSummary;
/** 版本BV‑xx,递增 */
private String bookVersion;
/** 文件字节大小 */
private Long fileSize;
/** 文件MD5校验 */
private String fileMd5;
/** 原始文件地址 */
private String downloadUrl;
/** 1上架;0下架禁止新下载,可上报阅读 */
private Integer isOnShelf;
/** 版本发布时间 */
private Date publishTime;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setBookId(String bookId)
{
this.bookId = bookId;
}
public String getBookId()
{
return bookId;
}
public void setBookTitle(String bookTitle)
{
this.bookTitle = bookTitle;
}
public String getBookTitle()
{
return bookTitle;
}
public void setBookCategory(String bookCategory)
{
this.bookCategory = bookCategory;
}
public String getBookCategory()
{
return bookCategory;
}
public void setBookSummary(String bookSummary)
{
this.bookSummary = bookSummary;
}
public String getBookSummary()
{
return bookSummary;
}
public void setBookVersion(String bookVersion)
{
this.bookVersion = bookVersion;
}
public String getBookVersion()
{
return bookVersion;
}
public void setFileSize(Long fileSize)
{
this.fileSize = fileSize;
}
public Long getFileSize()
{
return fileSize;
}
public void setFileMd5(String fileMd5)
{
this.fileMd5 = fileMd5;
}
public String getFileMd5()
{
return fileMd5;
}
public void setDownloadUrl(String downloadUrl)
{
this.downloadUrl = downloadUrl;
}
public String getDownloadUrl()
{
return downloadUrl;
}
public void setIsOnShelf(Integer isOnShelf)
{
this.isOnShelf = isOnShelf;
}
public Integer getIsOnShelf()
{
return isOnShelf;
}
public void setPublishTime(Date publishTime)
{
this.publishTime = publishTime;
}
public Date getPublishTime()
{
return publishTime;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("bookId", getBookId())
.append("bookTitle", getBookTitle())
.append("bookCategory", getBookCategory())
.append("bookSummary", getBookSummary())
.append("bookVersion", getBookVersion())
.append("fileSize", getFileSize())
.append("fileMd5", getFileMd5())
.append("downloadUrl", getDownloadUrl())
.append("isOnShelf", getIsOnShelf())
.append("publishTime", getPublishTime())
.append("createTime", getCreateTime())
.append("updateTime", getUpdateTime())
.toString();
}
}