FeedBack.java 3.93 KB
package com.diligrp.mobsite.getway.domain;

import com.diligrp.website.util.domain.BaseDomain;

/**
 * <B>Description</B> 反馈意见 <br />
 * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />
 * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />
 * <B>Company</B> 地利集团
 *
 * @author wujianjun
 * @createTime 2014/9/24 14:42
 */
@SuppressWarnings("serial")
public class FeedBack extends BaseDomain {
    /**
     * android
     */
    public static final Integer DEVICE_TYPE_ANDROID = 1;
    /**
     * ios
     */
    public static final Integer DEVICE_TYPE_IOS = 2;
    /**
     * 已读
     */
    public static final Integer STATUS_READED = 1;
    /**
     * 未读
     */
    public static final Integer STATUS_UNREAD = 2;
    /**
     * 反馈类型:反馈
     */
    private static final int TYPE_FEEDBACK = 1;
    
    
    /**
     * 反馈的意见内容
     */
    private String content;
    /**
     * 用户移动设备类型
     * DEVICE_TYPE_*
     */
    private Integer deviceType;
    /**
     * 用户移动设备版本
     */
    private String deviceVersion;
    /**
     * 反馈类型 TYPE_*
     */
    private Integer type = TYPE_FEEDBACK;
    /**
     * 应用软件版本
     */
    private String appVersion;
    /**
     * STATUS_*
     */
    private Integer status = STATUS_UNREAD;
    private Long marketId;
    private Long userId;
    private String userAccountName;
    
    /**
     * 系统类型
     */
    private String systemType;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceVersion() {
        return deviceVersion;
    }

    public void setDeviceVersion(String deviceVersion) {
        this.deviceVersion = deviceVersion;
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getMarketId() {
        return marketId;
    }

    public void setMarketId(Long marketId) {
        this.marketId = marketId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserAccountName() {
        return userAccountName;
    }

    public void setUserAccountName(String userAccountName) {
        this.userAccountName = userAccountName;
    }

    
    /**
     * get value of FeedBack.systemType
     * @return the systemType
     * @createTime 2014年11月26日 下午3:50:15
     * @author zhangshirui
     */
    public String getSystemType() {
        return systemType;
    }

    
    /**
     * set value of FeedBack.systemType
     * @param systemType the systemType to set
     * @createTime 2014年11月26日 下午3:50:15
     * @author zhangshirui
     */
    public void setSystemType(String systemType) {
        this.systemType = systemType;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "FeedBack [content=" + content + ", deviceType=" + deviceType
                + ", deviceVersion=" + deviceVersion + ", type=" + type
                + ", appVersion=" + appVersion + ", status=" + status
                + ", marketId=" + marketId + ", userId=" + userId
                + ", userAccountName=" + userAccountName + ", systemType="
                + systemType + "]";
    }
}