package com.baidu.unbiz.multitask.vo;

/**
 * 分设备维度模型
 *
 * @author wangchongjie
 * @fileName DeviceViewItem.java
 * @since 2015-7-3 上午10:52:25
 */
public class DeviceViewItem {

    private static final long serialVersionUID = 6132709579470894604L;

    private int planId;

    private String planName;

    private Integer deviceId;

    /** 无线出价比例 */
    private double bidRatio;

    /** 计划属性：1-所有功能，2-仅无线 */
    private Integer promotionType;

    // getter and setter
    public int getPlanId() {
        return planId;
    }

    public void setPlanId(int planId) {
        this.planId = planId;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }

    public double getBidRatio() {
        return bidRatio;
    }

    public void setBidRatio(double bidRatio) {
        this.bidRatio = bidRatio;
    }

    public Integer getPromotionType() {
        return promotionType;
    }

    public void setPromotionType(Integer promotionType) {
        this.promotionType = promotionType;
    }

}

@@ -338,114 +338,34 @@
     
-/** %E6%97%A0%E7%BA%BF%E5%87%BA%E4%BB%B7%E6%AF%94%E4%BE%8B */%0A    private double bidRatio;%0A%0A    /** %E8%AE%A1%E5%88%92%E5%B1%9E%E6%80%A7%EF%BC%9A1-%E6%89%80%E6%9C%89%E5%8A%9F%E8%83%BD%EF%BC%8C2-%E4%BB%85%E6%97%A0%E7%BA%BF */%0A    private Integer promotionType
+private String deviceName 
 ;%0A%0A 
@@ -849,26 +849,28 @@
 lic 
-double getBidRatio
+String getDeviceName
 () %7B
@@ -885,24 +885,26 @@
  return 
-bidRatio
+deviceName
 ;%0A    %7D%0A
@@ -927,253 +927,75 @@
  set
-BidRatio(double bidRatio) %7B%0A        this.bidRatio = bidRatio;%0A    %7D%0A%0A    public Integer getPromotionType() %7B%0A        return promotionType;%0A    %7D%0A%0A    public void setPromotionType(Integer promotionType) %7B%0A        this.promotionType = promotionTyp
+DeviceName(String deviceName) %7B%0A        this.deviceName = deviceNam
 e;%0A 
@@ -1000,10 +1000,11 @@
 %0A    %7D%0A%0A
+%0A
 %7D%0A

update ut