⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 newsattachment.java

📁 jsp+servlet实现的标准MVC系统 jsp-servlet-service-DAO-DBMS
💻 JAVA
字号:
/*
 * Created on 2005-12-2
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.mycompany.news.dto;

/**
 * @author Administrator
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class NewsAttachment {
	private Long attachmentId;
	private Long newsId;
	private String attachmentName;
	private byte[] attachmentContent;
	
	/**
	 * @return Returns the attachmentId.
	 */
	public Long getAttachmentId() {
		return attachmentId;
	}
	/**
	 * @param attachmentId The attachmentId to set.
	 */
	public void setAttachmentId(Long attachmentId) {
		this.attachmentId = attachmentId;
	}
	/**
	 * @return Returns the attachmentName.
	 */
	public String getAttachmentName() {
		return attachmentName;
	}
	/**
	 * @param attachmentName The attachmentName to set.
	 */
	public void setAttachmentName(String attachmentName) {
		this.attachmentName = attachmentName;
	}
	/**
	 * @return Returns the attContent.
	 */
	public byte[] getAttachmentContent() {
		return attachmentContent;
	}
	/**
	 * @param attContent The attContent to set.
	 */
	public void setAttachmentContent(byte[] attContent) {
		this.attachmentContent = attContent;
	}
	/**
	 * @return Returns the newsId.
	 */
	public Long getNewsId() {
		return newsId;
	}
	/**
	 * @param newsId The newsId to set.
	 */
	public void setNewsId(Long newsId) {
		this.newsId = newsId;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -