TdCBusinessCouponRule.java 6.74 KB
package com.zteits.business.domain;

import java.util.Date;

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

    /**卡券规则编码*/
    private String cardRuleNo;

    /**卡券规则名称*/
    private String cardRuleName;

    /**卡券类型 :1-单次券,2-时长券,3-满减券,4-金额券,5-包天券(24小时制,如果有自然日的情况在拓展),6-折扣券*/
    private Integer cardType;

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

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

    /**优惠值:按次(1次等),按时(如:120分钟),折扣(9.8,数据库存98),优惠(如10元,存1000分),包天(24小时制,已分钟为单位,24*60分钟),满减(保存减去的金额,满多少使用full_cut_value字段表示)*/
    private String discValue;

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

    /**暂时不用区分,是否叠加使用 1:是 0:否 默认否*/
    private Integer isSuperpUse;

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

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

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

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

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

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

    /**备注*/
    private String remark;

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

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

    /**获取卡券规则编码*/
    public String getCardRuleNo() {
        return cardRuleNo;
    }

    /**设置卡券规则编码*/
    public void setCardRuleNo(String cardRuleNo) {
        this.cardRuleNo = cardRuleNo == null ? null : cardRuleNo.trim();
    }

    /**获取卡券规则名称*/
    public String getCardRuleName() {
        return cardRuleName;
    }

    /**设置卡券规则名称*/
    public void setCardRuleName(String cardRuleName) {
        this.cardRuleName = cardRuleName == null ? null : cardRuleName.trim();
    }

    /**获取卡券类型 :1-单次券,2-时长券,3-满减券,4-金额券,5-包天券(24小时制,如果有自然日的情况在拓展),6-折扣券*/
    public Integer getCardType() {
        return cardType;
    }

    /**设置卡券类型 :1-单次券,2-时长券,3-满减券,4-金额券,5-包天券(24小时制,如果有自然日的情况在拓展),6-折扣券*/
    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 满减使用(限制),-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分),包天(24小时制,已分钟为单位,24*60分钟),满减(保存减去的金额,满多少使用full_cut_value字段表示)*/
    public String getDiscValue() {
        return discValue;
    }

    /**设置优惠值:按次(1次等),按时(如:120分钟),折扣(9.8,数据库存98),优惠(如10元,存1000分),包天(24小时制,已分钟为单位,24*60分钟),满减(保存减去的金额,满多少使用full_cut_value字段表示)*/
    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;
    }

    /**获取暂时不用区分,是否叠加使用 1:是 0:否 默认否*/
    public Integer getIsSuperpUse() {
        return isSuperpUse;
    }

    /**设置暂时不用区分,是否叠加使用 1:是 0:否 默认否*/
    public void setIsSuperpUse(Integer isSuperpUse) {
        this.isSuperpUse = isSuperpUse;
    }

    /**获取创建人*/
    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();
    }

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

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

    /**获取备注*/
    public String getRemark() {
        return remark;
    }

    /**设置备注*/
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}