package newlandframework.ruleengine;
/**
* @filename:Users.java
*
* Newland Co. Ltd. All rights reserved.
*
* @Description:用户定义
* @author tangjie
* @version 1.0
*
*/
import java.util.List;
public class Users {
// 全球通品牌
public static final Integer GOTONE = 1000;
// 动感地带品牌
public static final Integer MZONE = 1016;
// 用户归属地市编码(591表示福州/592表示厦门)
private Integer homeCity;
// 用户的手机号码
private Integer msisdn;
// 用户标识
private Integer userId;
// 用户品牌标识
private Integer userBrand;
private List<UserProduct> userProduct;
public List<UserProduct> getUserProduct()
{
return userProduct;
}
public void setUserProduct(List<UserProduct>
userProduct) {
this.userProduct = userProduct;
}
public Integer getHomeCity() {
return homeCity;
}
public void setHomeCity(Integer homeCity) {
this.homeCity = homeCity;
}
public Integer getMsisdn() {
return msisdn;
}
public void setMsisdn(Integer msisdn) {
this.msisdn = msisdn;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public Integer getUserBrand() {
return userBrand;
}
public void setUserBrand(Integer userBrand)
{
this.userBrand = userBrand;
}
@Override
public String toString() {
return "Users [homeCity=" + homeCity
+ ", msisdn=" + msisdn
+ ", userId=" + userId + ", userBrand="
+ userBrand
+ ", userProduct=" + userProduct + "]";
}
}
/**
* @filename:UserProduct.java
*
* Newland Co. Ltd. All rights reserved.
*
* @Description:用户产品定义
* @author tangjie
* @version 1.0
*
*/
package newlandframework.ruleengine;
public class UserProduct {
// VPN产品编码
public static final Integer VPNPRODUCT = 1000000001;
// 家庭产品编码
public static final Integer FAIMILYPROUDCT = 1000000002;
// 用户归属地市编码(591表示福州/592表示厦门)
private Integer homeCity;
// 用户标识
private Integer userId;
// 产品编码
private Integer productId;
// 产品名称描述
private String productName;
public Integer getHomeCity() {
return homeCity;
}
public void setHomeCity(Integer homeCity) {
this.homeCity = homeCity;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId)
{
this.productId = productId;
}
public String getProductName() {
return productName;
}
public void setProductName(String productName)
{
this.productName = productName;
}
@Override
public String toString() {
return "UserProduct [homeCity=" + homeCity
+ ", userId=" + userId
+ ", productId=" + productId + ",
productName=" + productName
+ "]";
}
}
/**
* @filename:LuckUsers.java
*
* Newland Co. Ltd. All rights reserved.
*
* @Description:幸运用户定义
* @author tangjie
* @version 1.0
*
*/
package newlandframework.ruleengine;
public class LuckUsers {
// 用户归属地市编码(591表示福州/592表示厦门)
private Integer homeCity;
// 用户的手机号码
private Integer msisdn;
// 用户标识
private Integer userId;
public LuckUsers() {
}
public LuckUsers(Integer homeCity, Integer msisdn,
Integer userId) {
super();
this.homeCity = homeCity;
this.msisdn = msisdn;
this.userId = userId;
}
public Integer getHomeCity() {
return homeCity;
}
public void setHomeCity(Integer homeCity) {
this.homeCity = homeCity;
}
public Integer getMsisdn() {
return msisdn;
}
public void setMsisdn(Integer msisdn) {
this.msisdn = msisdn;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
@Override
public String toString() {
return "LuckUsers [homeCity=" + homeCity
+ ", msisdn=" + msisdn
+ ", userId=" + userId + "]";
}
}
|