You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
593 B

package tiaozhanti1;
/**
* 数字资源类
*/
public class DigitalResource {
private String resourceId; // 资源ID
private String title; // 标题
private String type; // 类型(如:电子书、论文)
private String url; // 访问地址
public DigitalResource(String resourceId, String title, String type, String url) {
this.resourceId = resourceId;
this.title = title;
this.type = type;
this.url = url;
}
// getter
public String getTitle() { return title; }
}