| | |
| | | package com.yeshi.fanli.entity.integral;
|
| | |
|
| | | import java.io.Serializable;
|
| | | import java.util.Date;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | | import com.yeshi.fanli.entity.common.JumpDetailV2;
|
| | |
|
| | | /**
|
| | | * 积分任务分类
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_integral_task_class")
|
| | | public class IntegralTaskClass implements Serializable {
|
| | | /**
|
| | | * |
| | | */
|
| | | private static final long serialVersionUID = 1L;
|
| | | |
| | | public enum UniqueKeyEnum {
|
| | | dailySign("每日签到"), smartSearch("智能搜索"), buyReduce("自购立减"), inviteTeam("邀请粉丝"), shareReward("分享奖励"), |
| | | giveReward("赠送奖励"), scanReward("浏览奖励") , orderReward("订单奖励"), accountMaintain("账号维护");
|
| | | private final String desc;
|
| | |
|
| | | private UniqueKeyEnum(String desc) {
|
| | | this.desc = desc;
|
| | | }
|
| | |
|
| | | public String getDesc() {
|
| | | return desc;
|
| | | }
|
| | | }
|
| | |
|
| | | @Expose
|
| | | @Column(name = "tc_id")
|
| | | private Long id;
|
| | |
|
| | | @Expose
|
| | | @Column(name = "tc_name")
|
| | | private String name;// 名称
|
| | | |
| | | @Expose
|
| | | @Column(name = "tc_picture")
|
| | | private String picture;// 图片
|
| | |
|
| | | @Column(name = "tc_unique_key")
|
| | | private UniqueKeyEnum uniqueKey; // 唯一值
|
| | | |
| | | @Expose
|
| | | @Column(name = "tc_tip")
|
| | | private String tip; // 提示
|
| | |
|
| | | @Expose
|
| | | @Column(name = "tc_btn_name")
|
| | | private String btnName; // 按钮名称
|
| | |
|
| | | @Expose
|
| | | @Column(name = "tc_jump_id")
|
| | | private JumpDetailV2 jumpDetail; // 跳转
|
| | |
|
| | | @Expose
|
| | | @Column(name = "tc_params")
|
| | | private String params; // 跳转参数
|
| | |
|
| | | @Expose
|
| | | @Column(name = "tc_rule_name")
|
| | | private String ruleName; // 规则名称
|
| | |
|
| | | @Expose
|
| | | @Column(name = "tc_rule")
|
| | | private String rule; // 规则
|
| | | |
| | | @Expose
|
| | | @Column(name = "tc_rule_link")
|
| | | private String ruleLink; // 规则详细链接
|
| | | |
| | | @Expose
|
| | | @Column(name = "tc_progress")
|
| | | private String progress; // 进度
|
| | |
|
| | | @Column(name = "tc_orderby")
|
| | | private Integer orderBy;// 排序值,越小越靠前
|
| | | |
| | | @Column(name = "tc_state")
|
| | | private Integer state;// 状态:1启用,0停用
|
| | |
|
| | | @Column(name = "tc_create_time")
|
| | | private Date createTime;
|
| | |
|
| | | @Column(name = "tc_update_time")
|
| | | private Date updateTime;
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public String getName() {
|
| | | return name;
|
| | | }
|
| | |
|
| | | public void setName(String name) {
|
| | | this.name = name;
|
| | | }
|
| | |
|
| | | public String getTip() {
|
| | | return tip;
|
| | | }
|
| | |
|
| | | public void setTip(String tip) {
|
| | | this.tip = tip;
|
| | | }
|
| | |
|
| | | public String getRule() {
|
| | | return rule;
|
| | | }
|
| | |
|
| | | public void setRule(String rule) {
|
| | | this.rule = rule;
|
| | | }
|
| | |
|
| | | public Integer getOrderBy() {
|
| | | return orderBy;
|
| | | }
|
| | |
|
| | | public void setOrderBy(Integer orderBy) {
|
| | | this.orderBy = orderBy;
|
| | | }
|
| | |
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | |
|
| | | public Date getUpdateTime() {
|
| | | return updateTime;
|
| | | }
|
| | |
|
| | | public void setUpdateTime(Date updateTime) {
|
| | | this.updateTime = updateTime;
|
| | | }
|
| | |
|
| | | public String getBtnName() {
|
| | | return btnName;
|
| | | }
|
| | |
|
| | | public void setBtnName(String btnName) {
|
| | | this.btnName = btnName;
|
| | | }
|
| | |
|
| | | public String getRuleName() {
|
| | | return ruleName;
|
| | | }
|
| | |
|
| | | public void setRuleName(String ruleName) {
|
| | | this.ruleName = ruleName;
|
| | | }
|
| | |
|
| | | public JumpDetailV2 getJumpDetail() {
|
| | | return jumpDetail;
|
| | | }
|
| | |
|
| | | public void setJumpDetail(JumpDetailV2 jumpDetail) {
|
| | | this.jumpDetail = jumpDetail;
|
| | | }
|
| | |
|
| | | public String getParams() {
|
| | | return params;
|
| | | }
|
| | |
|
| | | public void setParams(String params) {
|
| | | this.params = params;
|
| | | }
|
| | |
|
| | | public Integer getState() {
|
| | | return state;
|
| | | }
|
| | |
|
| | | public void setState(Integer state) {
|
| | | this.state = state;
|
| | | }
|
| | |
|
| | | public UniqueKeyEnum getUniqueKey() {
|
| | | return uniqueKey;
|
| | | }
|
| | |
|
| | | public void setUniqueKey(UniqueKeyEnum uniqueKey) {
|
| | | this.uniqueKey = uniqueKey;
|
| | | }
|
| | |
|
| | | public String getPicture() {
|
| | | return picture;
|
| | | }
|
| | |
|
| | | public void setPicture(String picture) {
|
| | | this.picture = picture;
|
| | | }
|
| | |
|
| | | public String getProgress() {
|
| | | return progress;
|
| | | }
|
| | |
|
| | | public void setProgress(String progress) {
|
| | | this.progress = progress;
|
| | | }
|
| | |
|
| | | public String getRuleLink() {
|
| | | return ruleLink;
|
| | | }
|
| | |
|
| | | public void setRuleLink(String ruleLink) {
|
| | | this.ruleLink = ruleLink;
|
| | | }
|
| | | |
| | | }
|
| | | package com.yeshi.fanli.entity.integral; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | import com.google.gson.annotations.Expose; |
| | | import com.yeshi.fanli.entity.common.JumpDetailV2; |
| | | |
| | | /** |
| | | * 积分任务分类 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_integral_task_class") |
| | | public class IntegralTaskClass implements Serializable { |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public enum UniqueKeyEnum { |
| | | dailySign("每日签到"), smartSearch("智能搜索"), buyReduce("自购立减"), inviteTeam("邀请粉丝"), shareReward("分享奖励"), |
| | | giveReward("赠送奖励"), scanReward("浏览奖励") , orderReward("订单奖励"), accountMaintain("账号维护"); |
| | | private final String desc; |
| | | |
| | | private UniqueKeyEnum(String desc) { |
| | | this.desc = desc; |
| | | } |
| | | |
| | | public String getDesc() { |
| | | return desc; |
| | | } |
| | | } |
| | | |
| | | @Expose |
| | | @Column(name = "tc_id") |
| | | private Long id; |
| | | |
| | | @Expose |
| | | @Column(name = "tc_name") |
| | | private String name;// 名称 |
| | | |
| | | @Expose |
| | | @Column(name = "tc_picture") |
| | | private String picture;// 图片 |
| | | |
| | | @Column(name = "tc_unique_key") |
| | | private UniqueKeyEnum uniqueKey; // 唯一值 |
| | | |
| | | @Expose |
| | | @Column(name = "tc_tip") |
| | | private String tip; // 提示 |
| | | |
| | | @Expose |
| | | @Column(name = "tc_btn_name") |
| | | private String btnName; // 按钮名称 |
| | | |
| | | @Expose |
| | | @Column(name = "tc_jump_id") |
| | | private JumpDetailV2 jumpDetail; // 跳转 |
| | | |
| | | @Expose |
| | | @Column(name = "tc_params") |
| | | private String params; // 跳转参数 |
| | | |
| | | @Expose |
| | | @Column(name = "tc_rule_name") |
| | | private String ruleName; // 规则名称 |
| | | |
| | | @Expose |
| | | @Column(name = "tc_rule") |
| | | private String rule; // 规则 |
| | | |
| | | @Expose |
| | | @Column(name = "tc_rule_link") |
| | | private String ruleLink; // 规则详细链接 |
| | | |
| | | @Expose |
| | | @Column(name = "tc_progress") |
| | | private String progress; // 进度 |
| | | |
| | | @Column(name = "tc_orderby") |
| | | private Integer orderBy;// 排序值,越小越靠前 |
| | | |
| | | @Column(name = "tc_state") |
| | | private Integer state;// 状态:1启用,0停用 |
| | | |
| | | @Column(name = "tc_create_time") |
| | | private Date createTime; |
| | | |
| | | @Column(name = "tc_update_time") |
| | | private Date updateTime; |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getTip() { |
| | | return tip; |
| | | } |
| | | |
| | | public void setTip(String tip) { |
| | | this.tip = tip; |
| | | } |
| | | |
| | | public String getRule() { |
| | | return rule; |
| | | } |
| | | |
| | | public void setRule(String rule) { |
| | | this.rule = rule; |
| | | } |
| | | |
| | | public Integer getOrderBy() { |
| | | return orderBy; |
| | | } |
| | | |
| | | public void setOrderBy(Integer orderBy) { |
| | | this.orderBy = orderBy; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Date getUpdateTime() { |
| | | return updateTime; |
| | | } |
| | | |
| | | public void setUpdateTime(Date updateTime) { |
| | | this.updateTime = updateTime; |
| | | } |
| | | |
| | | public String getBtnName() { |
| | | return btnName; |
| | | } |
| | | |
| | | public void setBtnName(String btnName) { |
| | | this.btnName = btnName; |
| | | } |
| | | |
| | | public String getRuleName() { |
| | | return ruleName; |
| | | } |
| | | |
| | | public void setRuleName(String ruleName) { |
| | | this.ruleName = ruleName; |
| | | } |
| | | |
| | | public JumpDetailV2 getJumpDetail() { |
| | | return jumpDetail; |
| | | } |
| | | |
| | | public void setJumpDetail(JumpDetailV2 jumpDetail) { |
| | | this.jumpDetail = jumpDetail; |
| | | } |
| | | |
| | | public String getParams() { |
| | | return params; |
| | | } |
| | | |
| | | public void setParams(String params) { |
| | | this.params = params; |
| | | } |
| | | |
| | | public Integer getState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(Integer state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | public UniqueKeyEnum getUniqueKey() { |
| | | return uniqueKey; |
| | | } |
| | | |
| | | public void setUniqueKey(UniqueKeyEnum uniqueKey) { |
| | | this.uniqueKey = uniqueKey; |
| | | } |
| | | |
| | | public String getPicture() { |
| | | return picture; |
| | | } |
| | | |
| | | public void setPicture(String picture) { |
| | | this.picture = picture; |
| | | } |
| | | |
| | | public String getProgress() { |
| | | return progress; |
| | | } |
| | | |
| | | public void setProgress(String progress) { |
| | | this.progress = progress; |
| | | } |
| | | |
| | | public String getRuleLink() { |
| | | return ruleLink; |
| | | } |
| | | |
| | | public void setRuleLink(String ruleLink) { |
| | | this.ruleLink = ruleLink; |
| | | } |
| | | |
| | | } |