org.sdn.api.service.business.response.ship.BusinessShipResponseDTO Maven / Gradle / Ivy
package org.sdn.api.service.business.response.ship;
import org.sdn.api.response.OpenResponse;
import java.util.Date;
/**
* 业务订购关系 DTO
*
* @author:fulong
* @create:2018/9/18 18:17.
*/
public class BusinessShipResponseDTO extends OpenResponse {
private static final long serialVersionUID = -8753278623040258268L;
/**
* 业务订购关系主键
*/
private Long id;
/**
* 光口号
*/
private String loid;
/**
* 业务编码
*/
private String businessCode;
/**
* 业务名称
*/
private String businessName;
/**
* businessAction
*/
private String businessAction;
/**
* APP操作类型 O:开启 S:暂停
*/
private String opAction;
/**
* 业务状态 - 1 正常 2 待下发 3 暂停成功 4 失败 5 订购成功 6 待取消
*/
private Integer businessStatus;
/**
* 分组ID
*/
private String groupId;
/**
* 用户id account表id
*/
private String accountId;
/**
* 基础业务订购关系为用户中心的sdn_cust_info的ID
*/
private String custInfoId;
/**
* 区域编码 从用户中心cust_info表中查询
*/
private String areaCode;
/**
* 套餐编码
*/
private String skuCode;
/**
* 套餐时长 单位为毫秒
*/
private Long skuDuration;
/**
* 过期时间点(时间戳) 计算方式:当前时间+SKU中配置的过期时间,单位(毫秒)
*/
private Long expirePoint;
/**
* 过期时间(日期类型,方便查看)
*/
private Date expireDate;
/**
* 操作时间(业务操作时间,辅助业务已加速时长计算。根据具体业务逻辑进行该值的更新)
*/
private Date opTime;
/**
* 显示隐藏 1:显示 0:隐藏(也可用于deviceready时控制业务下发)
*/
private Integer status;
/**
* 业务描述信息
*/
private String description;
/**
* 业务创建时间
*/
private Date createTime;
/**
* 业务更新时间
*/
private Date updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getLoid() {
return loid;
}
public void setLoid(String loid) {
this.loid = loid;
}
public String getBusinessCode() {
return businessCode;
}
public void setBusinessCode(String businessCode) {
this.businessCode = businessCode;
}
public String getBusinessName() {
return businessName;
}
public void setBusinessName(String businessName) {
this.businessName = businessName;
}
public String getBusinessAction() {
return businessAction;
}
public void setBusinessAction(String businessAction) {
this.businessAction = businessAction;
}
public String getOpAction() {
return opAction;
}
public void setOpAction(String opAction) {
this.opAction = opAction;
}
public Integer getBusinessStatus() {
return businessStatus;
}
public void setBusinessStatus(Integer businessStatus) {
this.businessStatus = businessStatus;
}
public String getGroupId() {
return groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public String getCustInfoId() {
return custInfoId;
}
public void setCustInfoId(String custInfoId) {
this.custInfoId = custInfoId;
}
public String getAreaCode() {
return areaCode;
}
public void setAreaCode(String areaCode) {
this.areaCode = areaCode;
}
public String getSkuCode() {
return skuCode;
}
public void setSkuCode(String skuCode) {
this.skuCode = skuCode;
}
public Long getSkuDuration() {
return skuDuration;
}
public void setSkuDuration(Long skuDuration) {
this.skuDuration = skuDuration;
}
public Long getExpirePoint() {
return expirePoint;
}
public void setExpirePoint(Long expirePoint) {
this.expirePoint = expirePoint;
}
public Date getExpireDate() {
return expireDate;
}
public void setExpireDate(Date expireDate) {
this.expireDate = expireDate;
}
public Date getOpTime() {
return opTime;
}
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "BusinessShipDTO{" +
"id=" + id +
", loid='" + loid + '\'' +
", businessCode='" + businessCode + '\'' +
", businessName='" + businessName + '\'' +
", businessAction='" + businessAction + '\'' +
", opAction='" + opAction + '\'' +
", businessStatus=" + businessStatus +
", groupId='" + groupId + '\'' +
", accountId='" + accountId + '\'' +
", custInfoId='" + custInfoId + '\'' +
", areaCode='" + areaCode + '\'' +
", skuCode='" + skuCode + '\'' +
", skuDuration=" + skuDuration +
", expirePoint=" + expirePoint +
", expireDate=" + expireDate +
", opTime=" + opTime +
", status=" + status +
", description='" + description + '\'' +
", createTime=" + createTime +
", updateTime=" + updateTime +
'}';
}
}