📄 document.java
字号:
//$Id: Document.java 7552 2005-07-19 18:51:24Z oneovthafew $package org.hibernate.test.optlock;/** * @author Gavin King */public class Document { private Long id; private String author; private String title; private String summary; private String text; private PublicationDate pubDate; private int totalSales; /** * @return Returns the author. */ public String getAuthor() { return author; } /** * @param author The author to set. */ public void setAuthor(String author) { this.author = author; } /** * @return Returns the id. */ public Long getId() { return id; } /** * @param id The id to set. */ public void setId(Long id) { this.id = id; } /** * @return Returns the summary. */ public String getSummary() { return summary; } /** * @param summary The summary to set. */ public void setSummary(String summary) { this.summary = summary; } /** * @return Returns the text. */ public String getText() { return text; } /** * @param text The text to set. */ public void setText(String text) { this.text = text; } /** * @return Returns the title. */ public String getTitle() { return title; } /** * @param title The title to set. */ public void setTitle(String title) { this.title = title; } public PublicationDate getPubDate() { return pubDate; } public void setPubDate(PublicationDate pubDate) { this.pubDate = pubDate; } public int getTotalSales() { return totalSales; } public void setTotalSales(int totalSales) { this.totalSales = totalSales; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -