TdCCouponRule.java 10.7 KB
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 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417
package com.zteits.pay.domain;

import java.util.Date;

public class TdCCouponRule {
    /**主键*/
    private Long id;

    /**卡券编码*/
    private String cardNo;

    /**卡券名称*/
    private String cardName;

    /**卡券来源:1:平台发放,2:停车场发放*/
    private Integer cardRes;

    /**卡券类型 :1-优惠券,2-停车券(线下兑换专用),3-充值卡,4-代金券*/
    private Integer cardType;

    /**优惠券类型:1:按次优惠,2:按时优惠,3:折扣优惠(打折),4:满减优惠*/
    private Integer couponsType;

    /**是否推荐购买 1:是,0:否*/
    private Integer isRecommend;

    /**使用规则:1 满减使用(限制),-1无限制(充值卡都为-1)*/
    private Integer useRule;

    /**优惠值:按次(1次等),按时(如:120分钟),折扣(9.8,数据库存98),优惠(如10元,存1000分)*/
    private String discValue;

    /**卡券面值(例如100元代金券)或满减金额(例如:满10减2则保存10元)(金额单位分)*/
    private Integer fullCutValue;

    /**所需积分*/
    private Integer needIntegral;

    /**是否叠加使用 1:是 0:否*/
    private Integer isSuperpUse;

    /**开始时间*/
    private Date beginTime;

    /**结束时间*/
    private Date endTime;

    /**卡券剩余数量*/
    private Integer cardRestNum;

    /**卡券发放数量*/
    private Integer cardNum;

    /**卡券状态:1、上架;2、下架*/
    private Integer cardState;

    /**描述*/
    private String cardRemarks;

    /**数据状态:1有效,0无效*/
    private Integer dataState;

    /**创建人*/
    private String createEmpid;

    /**创建时间*/
    private Date createDate;

    /**修改人*/
    private String modfiyEmpid;

    /**修改时间*/
    private Date modfiyDate;

    /**卡券说明,如:不与其他优惠同时使用*/
    private String cardContent;

    /**使用天数(领取后)*/
    private Integer validDays;

    /**领取渠道:1:app自动下发,2:商城兑换,3-赠送使用 4-线下兑换*/
    private Integer receiveChannels;

    /**每次领取数量*/
    private Integer receiveNum;

    /**服务点对应二级组织ID*/
    private Long orgId;

    /**是否已使用 1:已使用/绑定 0:未使用*/
    private Integer isUesed;

    /**批次编号*/
    private String batchNo;

    /**优惠券是归属单位**/
    private String owener;

    /**优惠券是归属单位名称**/
    private String owenerName;

    /**获取主键*/
    public Long getId() {
        return id;
    }

    /**设置主键*/
    public void setId(Long id) {
        this.id = id;
    }

    /**获取卡券编码*/
    public String getCardNo() {
        return cardNo;
    }

    /**设置卡券编码*/
    public void setCardNo(String cardNo) {
        this.cardNo = cardNo == null ? null : cardNo.trim();
    }

    /**获取卡券名称*/
    public String getCardName() {
        return cardName;
    }

    /**设置卡券名称*/
    public void setCardName(String cardName) {
        this.cardName = cardName == null ? null : cardName.trim();
    }

    /**获取卡券来源:1:平台发放,2:停车场发放*/
    public Integer getCardRes() {
        return cardRes;
    }

    /**设置卡券来源:1:平台发放,2:停车场发放*/
    public void setCardRes(Integer cardRes) {
        this.cardRes = cardRes;
    }

    /**获取卡券类型 :1-优惠券,2-停车券(线下兑换专用),3-充值卡,4-代金券*/
    public Integer getCardType() {
        return cardType;
    }

    /**设置卡券类型 :1-优惠券,2-停车券(线下兑换专用),3-充值卡,4-代金券*/
    public void setCardType(Integer cardType) {
        this.cardType = cardType;
    }

    /**获取优惠券类型:1:按次优惠,2:按时优惠,3:折扣优惠(打折),4:满减优惠*/
    public Integer getCouponsType() {
        return couponsType;
    }

    /**设置优惠券类型:1:按次优惠,2:按时优惠,3:折扣优惠(打折),4:满减优惠*/
    public void setCouponsType(Integer couponsType) {
        this.couponsType = couponsType;
    }

    /**获取是否推荐购买 1:是,0:否*/
    public Integer getIsRecommend() {
        return isRecommend;
    }

    /**设置是否推荐购买 1:是,0:否*/
    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }

    /**获取使用规则:1 满减使用(限制),-1无限制(充值卡都为-1)*/
    public Integer getUseRule() {
        return useRule;
    }

    /**设置使用规则:1 满减使用(限制),-1无限制(充值卡都为-1)*/
    public void setUseRule(Integer useRule) {
        this.useRule = useRule;
    }

    /**获取优惠值:按次(1次等),按时(如:120分钟),折扣(9.8,数据库存98),优惠(如10元,存1000分)*/
    public String getDiscValue() {
        return discValue;
    }

    /**设置优惠值:按次(1次等),按时(如:120分钟),折扣(9.8,数据库存98),优惠(如10元,存1000分)*/
    public void setDiscValue(String discValue) {
        this.discValue = discValue == null ? null : discValue.trim();
    }

    /**获取卡券面值(例如100元代金券)或满减金额(例如:满10减2则保存10元)(金额单位分)*/
    public Integer getFullCutValue() {
        return fullCutValue;
    }

    /**设置卡券面值(例如100元代金券)或满减金额(例如:满10减2则保存10元)(金额单位分)*/
    public void setFullCutValue(Integer fullCutValue) {
        this.fullCutValue = fullCutValue;
    }

    /**获取所需积分*/
    public Integer getNeedIntegral() {
        return needIntegral;
    }

    /**设置所需积分*/
    public void setNeedIntegral(Integer needIntegral) {
        this.needIntegral = needIntegral;
    }

    /**获取是否叠加使用 1:是 0:否*/
    public Integer getIsSuperpUse() {
        return isSuperpUse;
    }

    /**设置是否叠加使用 1:是 0:否*/
    public void setIsSuperpUse(Integer isSuperpUse) {
        this.isSuperpUse = isSuperpUse;
    }

    /**获取开始时间*/
    public Date getBeginTime() {
        return beginTime;
    }

    /**设置开始时间*/
    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    /**获取结束时间*/
    public Date getEndTime() {
        return endTime;
    }

    /**设置结束时间*/
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /**获取卡券剩余数量*/
    public Integer getCardRestNum() {
        return cardRestNum;
    }

    /**设置卡券剩余数量*/
    public void setCardRestNum(Integer cardRestNum) {
        this.cardRestNum = cardRestNum;
    }

    /**获取卡券发放数量*/
    public Integer getCardNum() {
        return cardNum;
    }

    /**设置卡券发放数量*/
    public void setCardNum(Integer cardNum) {
        this.cardNum = cardNum;
    }

    /**获取卡券状态:1、上架;2、下架*/
    public Integer getCardState() {
        return cardState;
    }

    /**设置卡券状态:1、上架;2、下架*/
    public void setCardState(Integer cardState) {
        this.cardState = cardState;
    }

    /**获取描述*/
    public String getCardRemarks() {
        return cardRemarks;
    }

    /**设置描述*/
    public void setCardRemarks(String cardRemarks) {
        this.cardRemarks = cardRemarks == null ? null : cardRemarks.trim();
    }

    /**获取数据状态:1有效,0无效*/
    public Integer getDataState() {
        return dataState;
    }

    /**设置数据状态:1有效,0无效*/
    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    /**获取创建人*/
    public String getCreateEmpid() {
        return createEmpid;
    }

    /**设置创建人*/
    public void setCreateEmpid(String createEmpid) {
        this.createEmpid = createEmpid == null ? null : createEmpid.trim();
    }

    /**获取创建时间*/
    public Date getCreateDate() {
        return createDate;
    }

    /**设置创建时间*/
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**获取修改人*/
    public String getModfiyEmpid() {
        return modfiyEmpid;
    }

    /**设置修改人*/
    public void setModfiyEmpid(String modfiyEmpid) {
        this.modfiyEmpid = modfiyEmpid == null ? null : modfiyEmpid.trim();
    }

    /**获取修改时间*/
    public Date getModfiyDate() {
        return modfiyDate;
    }

    /**设置修改时间*/
    public void setModfiyDate(Date modfiyDate) {
        this.modfiyDate = modfiyDate;
    }

    /**获取卡券说明,如:不与其他优惠同时使用*/
    public String getCardContent() {
        return cardContent;
    }

    /**设置卡券说明,如:不与其他优惠同时使用*/
    public void setCardContent(String cardContent) {
        this.cardContent = cardContent == null ? null : cardContent.trim();
    }

    /**获取使用天数(领取后)*/
    public Integer getValidDays() {
        return validDays;
    }

    /**设置使用天数(领取后)*/
    public void setValidDays(Integer validDays) {
        this.validDays = validDays;
    }

    /**获取领取渠道:1:app自动下发,2:商城兑换,3-赠送使用 4-线下兑换*/
    public Integer getReceiveChannels() {
        return receiveChannels;
    }

    /**设置领取渠道:1:app自动下发,2:商城兑换,3-赠送使用 4-线下兑换*/
    public void setReceiveChannels(Integer receiveChannels) {
        this.receiveChannels = receiveChannels;
    }

    /**获取每次领取数量*/
    public Integer getReceiveNum() {
        return receiveNum;
    }

    /**设置每次领取数量*/
    public void setReceiveNum(Integer receiveNum) {
        this.receiveNum = receiveNum;
    }

    /**获取服务点对应二级组织ID*/
    public Long getOrgId() {
        return orgId;
    }

    /**设置服务点对应二级组织ID*/
    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    /**获取是否已使用 1:已使用/绑定 0:未使用*/
    public Integer getIsUesed() {
        return isUesed;
    }

    /**设置是否已使用 1:已使用/绑定 0:未使用*/
    public void setIsUesed(Integer isUesed) {
        this.isUesed = isUesed;
    }

    /**获取批次编号*/
    public String getBatchNo() {
        return batchNo;
    }

    /**设置批次编号*/
    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo == null ? null : batchNo.trim();
    }

    public String getOwener() {
        return owener;
    }

    public void setOwener(String owener) {
        this.owener = owener;
    }

    public String getOwenerName() {
        return owenerName;
    }

    public void setOwenerName(String owenerName) {
        this.owenerName = owenerName;
    }
}