AppVersion.java 3.71 KB
package com.diligrp.mobsite.man.domain;

import com.diligrp.mobsite.man.domain.common.Constant;
import com.diligrp.website.util.domain.BaseDomain;



/**
 * 
 * @ClassName: Version 
 * @Description:
 * @author zhangshirui  
 * @date 2014年8月8日 上午11:34:55
 */
@SuppressWarnings("serial")
public class AppVersion extends BaseDomain {
	
    /**
     * 是否强制升级
     * 1 - 可升级,2 - 强制升级
     */
    public static final Integer FORCE_NO = 2;
    /**
     * 2 - 强制升级
     */
    public static final Integer FORCE_YES = 1;
    
    /**
     * 设备类型
     * 1 - 所有设备,2 - ANDROID,3 - IOS
     */
    public static final Integer DEVICE_ALL = 1;
    /**
     * 2 - ANDROID
     */
    public static final Integer DEVICE_ANDROID= 2;
    /**
     * 3 - IOS
     */
    public static final Integer DEVICE_IOS = 3;
    
    /**
     * 是否激活
     * 1-激活,2-禁用
     */
    public static final Integer STATUS_ACTIVE = 1;
    /**
     * 2-禁用
     */
    public static final Integer STATUS_UNACTIVE = 2;

    /**
     * 设备类型
     */
	private Integer device_type;
	
	/**
	 * 客户端app版本
	 */
	private String app_version;
	
	/**
	 * 客户端app下载地址
	 */
	private String app_url;
	
	/**
	 * app描述
	 */
	private String description;
	
	/**
	 * 是否启用
	 * 1.启用
	 * 2.禁用
	 */
	private Integer status;
	
	/**
	 * 是否强制升级
	 * 1.是
	 * 2.否
	 */
	private Integer force_flag;
	
	/**
	 * 创建者id
	 */
	private Long creator_id;
	
	/**
	 * 系统类型
     * PNR:pnr-app
     * POS:pos机
     * PAY:地利宝
	 */
	private String systemType;
	/**
     * 版本编号
     */
    private Integer versionCode;
	
	/**
     * 是否增量升级
     */
    private Integer patchFlag = Constant.VERSION_PATCH_FLAG_NO;


	public Integer getDevice_type() {
		return device_type;
	}





	public void setDevice_type(Integer device_type) {
		this.device_type = device_type;
	}





	public String getApp_version() {
		return app_version;
	}





	public void setApp_version(String app_version) {
		this.app_version = app_version;
	}





	public String getApp_url() {
		return app_url;
	}





	public void setApp_url(String app_url) {
		this.app_url = app_url;
	}





	public String getDescription() {
		return description;
	}





	public void setDescription(String description) {
		this.description = description;
	}





	public Integer getStatus() {
		return status;
	}





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





	public Integer getForce_flag() {
		return force_flag;
	}





	public void setForce_flag(Integer force_flag) {
		this.force_flag = force_flag;
	}





	public Long getCreator_id() {
		return creator_id;
	}





	public void setCreator_id(Long creator_id) {
		this.creator_id = creator_id;
	}





    
    /**
     * get value of AppVersion.systemType
     * @return the systemType
     * @createTime 2014年11月24日 下午6:23:15
     * @author zhangshirui
     */
    public String getSystemType() {
        return systemType;
    }





    
    /**
     * set value of AppVersion.systemType
     * @param systemType the systemType to set
     * @createTime 2014年11月24日 下午6:23:16
     * @author zhangshirui
     */
    public void setSystemType(String systemType) {
        this.systemType = systemType;
    }

    @Override
    public String toString() {
        return null;
    }
    
    public Integer getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(Integer versionCode) {
        this.versionCode = versionCode;
    }
    
    public Integer getPatchFlag() {
        return patchFlag;
    }
    
    public void setPatchFlag(Integer patchFlag) {
        this.patchFlag = patchFlag;
    }

}