NewsAttachment.java
上传用户:junmaots
上传日期:2022-07-09
资源大小:2450k
文件大小:2k
- /*
- * 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;
- }
- }