package com.zteits.pay.domain; import java.util.Date; public class TdCPresentRule { /**主键*/ private Long id; /**规则编码,PR开头*/ private String ruleNo; /**规则名称*/ private String ruleName; /**赠送类型 :10-赠送金额,20-赠送积分,30-赠送优惠券,40-赠送代金券*/ private Integer presentType; /**赠送规则类型:10-固定值,20-随机值(present_value保存的是最大值)*/ private Integer presentRuleType; /**赠送值:金额(如:100,单位分),积分(如:1),优惠券/代金券(张数)*/ private String presentValue; /**满送金额(分),例如满5元送1积分,-1表示不限制,直接送*/ private Integer fullCutValue; /**过期类型:10-固定时间,20-动态计算*/ private Integer expiryType; /**过期时间,过期类型为10时必填*/ private Date expiryTime; /**使用天数(领取后)*/ private Integer validDays; /**赠送来源类型:100:停车赠送 200:充值赠送 300:会员卡赠送 900:其他赠送*/ private Integer presentSourceBigType; /**赠送来源明细类型:101:停车支付,103:停车补缴,104:共享车位;201:余额充值,202:押金充值;301:会员卡购买,302:会员卡续费,901:首次注册,902-签到 903-年终活动*/ private Integer presentSourceDetailType; /**针对优惠券和代金券,卡券编号*/ private String cardNo; /**该规则生效时间*/ private Date beginTime; /**该规则失效时间*/ private Date endTime; /**赠送规则状态:1、上架;2、下架*/ private Integer ruleState; /**描述*/ private String ruleRemarks; /**数据状态:1有效,0无效*/ private Integer dataState; /**创建人*/ private String createEmpid; /**创建时间*/ private Date createDate; /**修改人*/ private String modfiyEmpid; /**修改时间*/ private Date modfiyDate; /**服务点对应二级组织ID*/ private Long orgId; /**支付方式[字典表:PAY_TYPE]-- -1:支付宝 2:微信 3:银联 4:微信公众号 5:个人账户 6:现金 7:IC卡 11:充值卡*/ private String payType; /**获取主键*/ public Long getId() { return id; } /**设置主键*/ public void setId(Long id) { this.id = id; } /**获取规则编码,PR开头*/ public String getRuleNo() { return ruleNo; } /**设置规则编码,PR开头*/ public void setRuleNo(String ruleNo) { this.ruleNo = ruleNo == null ? null : ruleNo.trim(); } /**获取规则名称*/ public String getRuleName() { return ruleName; } /**设置规则名称*/ public void setRuleName(String ruleName) { this.ruleName = ruleName == null ? null : ruleName.trim(); } /**获取赠送类型 :10-赠送金额,20-赠送积分,30-赠送优惠券,40-赠送代金券*/ public Integer getPresentType() { return presentType; } /**设置赠送类型 :10-赠送金额,20-赠送积分,30-赠送优惠券,40-赠送代金券*/ public void setPresentType(Integer presentType) { this.presentType = presentType; } /**获取赠送规则类型:10-固定值,20-随机值(present_value保存的是最大值)*/ public Integer getPresentRuleType() { return presentRuleType; } /**设置赠送规则类型:10-固定值,20-随机值(present_value保存的是最大值)*/ public void setPresentRuleType(Integer presentRuleType) { this.presentRuleType = presentRuleType; } /**获取赠送值:金额(如:100,单位分),积分(如:1),优惠券/代金券(张数)*/ public String getPresentValue() { return presentValue; } /**设置赠送值:金额(如:100,单位分),积分(如:1),优惠券/代金券(张数)*/ public void setPresentValue(String presentValue) { this.presentValue = presentValue == null ? null : presentValue.trim(); } /**获取满送金额(分),例如满5元送1积分,-1表示不限制,直接送*/ public Integer getFullCutValue() { return fullCutValue; } /**设置满送金额(分),例如满5元送1积分,-1表示不限制,直接送*/ public void setFullCutValue(Integer fullCutValue) { this.fullCutValue = fullCutValue; } /**获取过期类型:10-固定时间,20-动态计算 30-不过期*/ public Integer getExpiryType() { return expiryType; } /**设置过期类型:10-固定时间,20-动态计算 30-不过期*/ public void setExpiryType(Integer expiryType) { this.expiryType = expiryType; } /**获取过期时间,过期类型为10时必填*/ public Date getExpiryTime() { return expiryTime; } /**设置过期时间,过期类型为10时必填*/ public void setExpiryTime(Date expiryTime) { this.expiryTime = expiryTime; } /**获取使用天数(领取后)*/ public Integer getValidDays() { return validDays; } /**设置使用天数(领取后)*/ public void setValidDays(Integer validDays) { this.validDays = validDays; } /**获取赠送来源类型:100:停车赠送 200:充值赠送 300:会员卡赠送 900:其他赠送*/ public Integer getPresentSourceBigType() { return presentSourceBigType; } /**设置赠送来源类型:100:停车赠送 200:充值赠送 300:会员卡赠送 900:其他赠送*/ public void setPresentSourceBigType(Integer presentSourceBigType) { this.presentSourceBigType = presentSourceBigType; } /**获取赠送来源明细类型:101:停车支付,103:停车补缴,104:共享车位;201:余额充值,202:押金充值;301:会员卡购买,302:会员卡续费,901:首次注册,902-签到 903-年终活动*/ public Integer getPresentSourceDetailType() { return presentSourceDetailType; } /**设置赠送来源明细类型:101:停车支付,103:停车补缴,104:共享车位;201:余额充值,202:押金充值;301:会员卡购买,302:会员卡续费,901:首次注册,902-签到 903-年终活动*/ public void setPresentSourceDetailType(Integer presentSourceDetailType) { this.presentSourceDetailType = presentSourceDetailType; } /**获取针对优惠券和代金券,卡券编号*/ public String getCardNo() { return cardNo; } /**设置针对优惠券和代金券,卡券编号*/ public void setCardNo(String cardNo) { this.cardNo = cardNo == null ? null : cardNo.trim(); } /**获取该规则生效时间*/ 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; } /**获取赠送规则状态:1、上架;2、下架*/ public Integer getRuleState() { return ruleState; } /**设置赠送规则状态:1、上架;2、下架*/ public void setRuleState(Integer ruleState) { this.ruleState = ruleState; } /**获取描述*/ public String getRuleRemarks() { return ruleRemarks; } /**设置描述*/ public void setRuleRemarks(String ruleRemarks) { this.ruleRemarks = ruleRemarks == null ? null : ruleRemarks.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; } /**获取服务点对应二级组织ID*/ public Long getOrgId() { return orgId; } /**设置服务点对应二级组织ID*/ public void setOrgId(Long orgId) { this.orgId = orgId; } /**获取支付方式[字典表:PAY_TYPE]-- -1:支付宝 2:微信 3:银联 4:微信公众号 5:个人账户 6:现金 7:IC卡 11:充值卡*/ public String getPayType() { return payType; } /**设置支付方式[字典表:PAY_TYPE]-- -1:支付宝 2:微信 3:银联 4:微信公众号 5:个人账户 6:现金 7:IC卡 11:充值卡*/ public void setPayType(String payType) { this.payType = payType == null ? null : payType.trim(); } }