- package com.company.section1;
- /**
- * @author cbf4Life cbf4life@126.com
- * I'm glad to share my knowledge with you all.
- * 广告信模板,该数对象是由数据库产生的
- */
- public class AdvTemplate {
- //广告信名称
- private String advSubject ="XX银行国庆信用卡抽奖活动";
- //广告信内容
- private String advContext = "国庆抽奖活动通知:只要刷卡就送你1百万!....";
- //取得广告信的名称
- public String getAdvSubject(){
- return this.advSubject;
- }
- //取得广告信的内容
- public String getAdvContext(){
- return this.advContext;
- }
- }