Crowd.java 3.84 KB
Newer Older
manxiaoqiang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
package tkio.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.util.Date;
import java.util.HashMap;

@Entity
public class Crowd {
    private Long id;
    private Boolean hobbyLabel;
    private Boolean payLabel;
    private Boolean weights;
    private String dataRange;
    private String iosAppkey;
    private String androidAppKey;
    private Long rootAccount;
    private Integer status;
    private Date createTime;
    private String iosAppName;
    private String androidAppName;
    private Integer payment;
    private Long applyAccount;

    private HashMap<String, Object> map;
    private Long deviceid_cnt;
    private Double price;
    private Double total;

    private String contractCode;

    @Id
    @GeneratedValue
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Boolean getHobbyLabel() {
        return hobbyLabel;
    }

    public void setHobbyLabel(Boolean hobbyLabel) {
        this.hobbyLabel = hobbyLabel;
    }

    public Boolean getPayLabel() {
        return payLabel;
    }

    public void setPayLabel(Boolean payLabel) {
        this.payLabel = payLabel;
    }

    public Boolean getWeights() {
        return weights;
    }

    public void setWeights(Boolean weights) {
        this.weights = weights;
    }

    public String getDataRange() {
        return dataRange;
    }

    public void setDataRange(String dataRange) {
        this.dataRange = dataRange;
    }

    public String getIosAppkey() {
        return iosAppkey;
    }

    public void setIosAppkey(String iosAppkey) {
        this.iosAppkey = iosAppkey;
    }

    public String getAndroidAppKey() {
        return androidAppKey;
    }

    public void setAndroidAppKey(String androidAppKey) {
        this.androidAppKey = androidAppKey;
    }

    public Long getRootAccount() {
        return rootAccount;
    }

    public void setRootAccount(Long rootAccount) {
        this.rootAccount = rootAccount;
    }

    public Long getApplyAccount() {
        return applyAccount;
    }

    public void setApplyAccount(Long applyAccount) {
        this.applyAccount = applyAccount;
    }

    public Integer getStatus() {
        return status;
    }

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

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getIosAppName() {
        return iosAppName;
    }

    public void setIosAppName(String iosAppName) {
        this.iosAppName = iosAppName;
    }

    public String getAndroidAppName() {
        return androidAppName;
    }

    public void setAndroidAppName(String androidAppName) {
        this.androidAppName = androidAppName;
    }

    public Integer getPayment() {
        return payment;
    }

    public void setPayment(Integer payment) {
        this.payment = payment;
    }

    @Transient
    public HashMap<String, Object> getMap() {
        return map;
    }

    public void setMap(HashMap<String, Object> map) {
        this.map = map;
    }

    @Transient
    public Long getDeviceid_cnt() {
        return deviceid_cnt;
    }

    public void setDeviceid_cnt(Long deviceid_cnt) {
        this.deviceid_cnt = deviceid_cnt;
    }

    @Transient
    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Transient
    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public String getContractCode() {
        return contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode;
    }
}