| | |
| | | package com.yeshi.fanli.entity.money;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | 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.bus.user.UserInfo;
|
| | |
|
| | | /**
|
| | | * 用户账目明细(用于替换AccountDetails)
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_user_money_detail")
|
| | | public class UserMoneyDetail {
|
| | |
|
| | | public UserMoneyDetail(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | | |
| | | public UserMoneyDetail() {
|
| | | }
|
| | |
|
| | | public enum UserMoneyDetailTypeEnum {
|
| | | share("分享奖金", "http://img.flqapp.com/resource/money_detail/icon_share.png", ""), invite("邀请奖金", "http://img.flqapp.com/resource/money_detail/icon_invite.png", ""), inviteAndShare("奖金收入", "http://img.flqapp.com/resource/money_detail/icon_share.png", ""), fanli("返利到账", "http://img.flqapp.com/resource/money_detail/icon_fanli.png",
|
| | | ""), fanliWeiQuan("返利扣除", "http://img.flqapp.com/resource/money_detail/icon_fanli.png", "http://apph5.yeshitv.com/apppage/flq_whyMoneyDel.html"), inviteWeiQuan("邀请奖金扣除", "http://img.flqapp.com/resource/money_detail/icon_invite.png", "http://apph5.yeshitv.com/apppage/flq_whyMoneyDel.html"), shareWeiQuan("分享奖金扣除", "http://img.flqapp.com/resource/money_detail/icon_share.png",
|
| | | "http://apph5.yeshitv.com/apppage/flq_whyMoneyDel.html"), weiQuan("售后订单扣款", "http://img.flqapp.com/resource/money_detail/icon_fanli.png", "http://apph5.yeshitv.com/apppage/flq_whyMoneyDel.html"), systemEqualize("系统补齐", "http://img.flqapp.com/resource/money_detail/icon_system.png", ""), scoreConvert("金币兑换", "http://img.flqapp.com/resource/money_detail/icon_score.png",
|
| | | ""), hongbao("官方红包", "http://img.flqapp.com/resource/money_detail/icon_hongbao.png", ""), hongbaoDeduct("红包退款", "http://img.flqapp.com/resource/money_detail/icon_hongbao.png",
|
| | | ""), buyScore("购买积分", "http://img.flqapp.com/resource/money_detail/icon_score.png", ""), extract("提现", "http://img.flqapp.com/resource/money_detail/icon_extract.png",
|
| | | ""), extractVerify("提现验证", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""), extractReject("提现被拒", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""),orderReward("返利奖励金","http://img.flqapp.com/resource/money_detail/icon_order_reward.png",""),repeatStatistic("重复统计返利/奖金扣除","http://img.flqapp.com/resource/money_detail/icon_fanli.png","");
|
| | | private final String desc;
|
| | | private final String picture;
|
| | | private final String helpUrl;
|
| | |
|
| | | private UserMoneyDetailTypeEnum(String desc, String picture, String helpUrl) {
|
| | | this.desc = desc;
|
| | | this.picture = picture;
|
| | | this.helpUrl = helpUrl;
|
| | | }
|
| | |
|
| | | public String getDesc() {
|
| | | return desc;
|
| | | }
|
| | |
|
| | | public String getPicture() {
|
| | | return picture;
|
| | | }
|
| | |
|
| | | public String getHelpUrl() {
|
| | | return helpUrl;
|
| | | }
|
| | | }
|
| | |
|
| | | @Expose
|
| | | @Column(name = "umd_id")
|
| | | private Long id;
|
| | | @Column(name = "umd_uid")
|
| | | private UserInfo userInfo;
|
| | | @Expose
|
| | | @Column(name = "umd_money")
|
| | | private BigDecimal money;
|
| | | @Expose
|
| | | @Column(name = "umd_type")
|
| | | private UserMoneyDetailTypeEnum type;
|
| | | |
| | | @Column(name = "umd_order_type")
|
| | | private Integer orderType;//和订单相关数据才处理
|
| | | |
| | | @Expose
|
| | | @Column(name = "umd_title")
|
| | | private String title;// 标题
|
| | | @Expose
|
| | | @Column(name = "umd_sub_title")
|
| | | private String subTitle;// 子标题
|
| | | @Expose
|
| | | @Column(name = "umd_desc_info")
|
| | | private String descInfo;// 简要信息
|
| | | @Column(name = "umd_source_identify_id")
|
| | | private Long sourceIdentifyId;// 来源方唯一标识ID(返利,邀请赚与分享赚不存在该属性)
|
| | | @Column(name = "umd_identify_code")
|
| | | private String identifyCode;// 唯一标识
|
| | | @Column(name = "umd_beizhu")
|
| | | private String beiZhu;// 备注信息
|
| | | @Expose
|
| | | @Column(name = "umd_createtime")
|
| | | private Date createTime;
|
| | | @Column(name = "umd_updatetime")
|
| | | private Date updateTime;
|
| | | |
| | | private Integer state;//老版明细适用该字段
|
| | |
|
| | | public Integer getState() {
|
| | | return state;
|
| | | }
|
| | |
|
| | | public void setState(Integer state) {
|
| | | this.state = state;
|
| | | }
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public UserInfo getUserInfo() {
|
| | | return userInfo;
|
| | | }
|
| | |
|
| | | public void setUserInfo(UserInfo userInfo) {
|
| | | this.userInfo = userInfo;
|
| | | }
|
| | |
|
| | | public BigDecimal getMoney() {
|
| | | return money;
|
| | | }
|
| | |
|
| | | public void setMoney(BigDecimal money) {
|
| | | this.money = money;
|
| | | }
|
| | |
|
| | | public UserMoneyDetailTypeEnum getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(UserMoneyDetailTypeEnum type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public String getTitle() {
|
| | | return title;
|
| | | }
|
| | |
|
| | | public void setTitle(String title) {
|
| | | this.title = title;
|
| | | }
|
| | |
|
| | | public String getSubTitle() {
|
| | | return subTitle;
|
| | | }
|
| | |
|
| | | public void setSubTitle(String subTitle) {
|
| | | this.subTitle = subTitle;
|
| | | }
|
| | |
|
| | | public String getDescInfo() {
|
| | | return descInfo;
|
| | | }
|
| | |
|
| | | public void setDescInfo(String descInfo) {
|
| | | this.descInfo = descInfo;
|
| | | }
|
| | |
|
| | | public Long getSourceIdentifyId() {
|
| | | return sourceIdentifyId;
|
| | | }
|
| | |
|
| | | public void setSourceIdentifyId(Long sourceIdentifyId) {
|
| | | this.sourceIdentifyId = sourceIdentifyId;
|
| | | }
|
| | |
|
| | | public String getIdentifyCode() {
|
| | | return identifyCode;
|
| | | }
|
| | |
|
| | | public void setIdentifyCode(String identifyCode) {
|
| | | this.identifyCode = identifyCode;
|
| | | }
|
| | |
|
| | | public String getBeiZhu() {
|
| | | return beiZhu;
|
| | | }
|
| | |
|
| | | public void setBeiZhu(String beiZhu) {
|
| | | this.beiZhu = beiZhu;
|
| | | }
|
| | |
|
| | | 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 Integer getOrderType() {
|
| | | return orderType;
|
| | | }
|
| | |
|
| | | public void setOrderType(Integer orderType) {
|
| | | this.orderType = orderType;
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.money; |
| | | |
| | | import java.math.BigDecimal; |
| | | 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.bus.user.UserInfo; |
| | | |
| | | /** |
| | | * 用户账目明细(用于替换AccountDetails) |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_user_money_detail") |
| | | public class UserMoneyDetail { |
| | | |
| | | public UserMoneyDetail(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public UserMoneyDetail() { |
| | | } |
| | | |
| | | public enum UserMoneyDetailTypeEnum { |
| | | share("分享奖金", "http://img.flqapp.com/resource/money_detail/icon_share.png", ""), |
| | | invite("团队奖金", "http://img.flqapp.com/resource/money_detail/icon_invite.png", ""), |
| | | |
| | | inviteAndShare("奖金收入", "http://img.flqapp.com/resource/money_detail/icon_share.png", ""), |
| | | fanli("返利到账", "http://img.flqapp.com/resource/money_detail/icon_fanli.png", ""), |
| | | fanliWeiQuan("返利扣除", |
| | | "http://img.flqapp.com/resource/money_detail/icon_fanli.png", |
| | | "http://apph5.banliapp.com/AppPage/1.8.0/all_help_content.html?id=214"), |
| | | inviteWeiQuan("团队奖金扣除", |
| | | "http://img.flqapp.com/resource/money_detail/icon_invite.png", |
| | | "http://apph5.banliapp.com/AppPage/1.8.0/all_help_content.html?id=214"), |
| | | shareWeiQuan("分享奖金扣除", |
| | | "http://img.flqapp.com/resource/money_detail/icon_share.png", |
| | | "http://apph5.banliapp.com/AppPage/1.8.0/all_help_content.html?id=214"), |
| | | weiQuan("售后订单扣款", |
| | | "http://img.flqapp.com/resource/money_detail/icon_fanli.png", |
| | | "http://apph5.banliapp.com/AppPage/1.8.0/all_help_content.html?id=214"), |
| | | systemEqualize("系统补齐", "http://img.flqapp.com/resource/money_detail/icon_system.png", ""), |
| | | scoreConvert("金币兑换", "http://img.flqapp.com/resource/money_detail/icon_score.png", ""), |
| | | hongbao("官方红包", "http://img.flqapp.com/resource/money_detail/icon_hongbao.png", ""), |
| | | hongbaoDeduct("红包退款", "http://img.flqapp.com/resource/money_detail/icon_hongbao.png", ""), |
| | | buyScore("购买积分", "http://img.flqapp.com/resource/money_detail/icon_score.png", ""), |
| | | extract("提现", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""), |
| | | extractVerify("提现验证", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""), |
| | | extractReject("提现被拒", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""), |
| | | orderReward("返利奖励金", "http://img.flqapp.com/resource/money_detail/icon_order_reward.png", ""), |
| | | repeatStatistic("重复统计返利/奖金扣除", "http://img.flqapp.com/resource/money_detail/icon_fanli.png", ""), |
| | | elmeFanli("饿了么返利到账", "http://img.flqapp.com/resource/money_detail/icon_fanli.png", ""), |
| | | redPackExchange("红包提现到余额", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png", ""), |
| | | extractAutoWX("自动提现", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""), |
| | | extractAutoWXRefund("自动提现失败", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""), |
| | | subsidy("额外补贴", "http://img.flqapp.com/resource/msg/icon_msg_subsidy.png", ""), |
| | | |
| | | |
| | | teamReward("团队收益", "http://img.flqapp.com/resource/money_detail/icon_team_income.png", ""), |
| | | teamDividents("团队分红", "http://img.flqapp.com/resource/money_detail/icon_team_dividents.png", ""), |
| | | fanliNew("自购返利", "http://img.flqapp.com/resource/money_detail/icon_fanli.png", ""), |
| | | orderRewardNew("返利再返", "http://img.flqapp.com/resource/money_detail/icon_order_reward.png", ""), |
| | | shareNew("分享奖金", "http://img.flqapp.com/resource/money_detail/icon_share.png", ""), |
| | | systemEqualizeNew("系统补齐", "http://img.flqapp.com/resource/money_detail/icon_system.png", ""), |
| | | fanliWeiQuanNew("返利退回", |
| | | "http://img.flqapp.com/resource/money_detail/icon_fanli.png", |
| | | "http://apph5.banliapp.com/AppPage/1.8.0/all_help_content.html?id=214"), |
| | | extractNew("提现", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""), |
| | | extractVerifyNew("提现验证", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""), |
| | | systemTakeOff("系统扣除", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""); |
| | | |
| | | |
| | | |
| | | private final String desc; |
| | | private final String picture; |
| | | private final String helpUrl; |
| | | |
| | | private UserMoneyDetailTypeEnum(String desc, String picture, String helpUrl) { |
| | | this.desc = desc; |
| | | this.picture = picture; |
| | | this.helpUrl = helpUrl; |
| | | } |
| | | |
| | | public String getDesc() { |
| | | return desc; |
| | | } |
| | | |
| | | public String getPicture() { |
| | | return picture; |
| | | } |
| | | |
| | | public String getHelpUrl() { |
| | | return helpUrl; |
| | | } |
| | | } |
| | | |
| | | @Expose |
| | | @Column(name = "umd_id") |
| | | private Long id; |
| | | @Column(name = "umd_uid") |
| | | private UserInfo userInfo; |
| | | @Expose |
| | | @Column(name = "umd_money") |
| | | private BigDecimal money; |
| | | @Expose |
| | | @Column(name = "umd_type") |
| | | private UserMoneyDetailTypeEnum type; |
| | | |
| | | @Column(name = "umd_order_type") |
| | | private Integer orderType;// 和订单相关数据才处理 |
| | | |
| | | @Expose |
| | | @Column(name = "umd_title") |
| | | private String title;// 标题 |
| | | @Expose |
| | | @Column(name = "umd_sub_title") |
| | | private String subTitle;// 子标题 |
| | | @Expose |
| | | @Column(name = "umd_desc_info") |
| | | private String descInfo;// 简要信息 |
| | | @Column(name = "umd_source_identify_id") |
| | | private Long sourceIdentifyId;// 来源方唯一标识ID(返利,邀请赚与分享赚不存在该属性) |
| | | @Column(name = "umd_identify_code") |
| | | private String identifyCode;// 唯一标识 |
| | | @Column(name = "umd_beizhu") |
| | | private String beiZhu;// 备注信息 |
| | | @Expose |
| | | @Column(name = "umd_createtime") |
| | | private Date createTime; |
| | | @Column(name = "umd_updatetime") |
| | | private Date updateTime; |
| | | |
| | | private Integer state;// 老版明细适用该字段 |
| | | |
| | | @Column(name = "umd_show") |
| | | private Boolean show;// 是否显示 |
| | | |
| | | public Boolean getShow() { |
| | | return show; |
| | | } |
| | | |
| | | public void setShow(Boolean show) { |
| | | this.show = show; |
| | | } |
| | | |
| | | public Integer getState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(Integer state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public UserInfo getUserInfo() { |
| | | return userInfo; |
| | | } |
| | | |
| | | public void setUserInfo(UserInfo userInfo) { |
| | | this.userInfo = userInfo; |
| | | } |
| | | |
| | | public BigDecimal getMoney() { |
| | | return money; |
| | | } |
| | | |
| | | public void setMoney(BigDecimal money) { |
| | | this.money = money; |
| | | } |
| | | |
| | | public UserMoneyDetailTypeEnum getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(UserMoneyDetailTypeEnum type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getSubTitle() { |
| | | return subTitle; |
| | | } |
| | | |
| | | public void setSubTitle(String subTitle) { |
| | | this.subTitle = subTitle; |
| | | } |
| | | |
| | | public String getDescInfo() { |
| | | return descInfo; |
| | | } |
| | | |
| | | public void setDescInfo(String descInfo) { |
| | | this.descInfo = descInfo; |
| | | } |
| | | |
| | | public Long getSourceIdentifyId() { |
| | | return sourceIdentifyId; |
| | | } |
| | | |
| | | public void setSourceIdentifyId(Long sourceIdentifyId) { |
| | | this.sourceIdentifyId = sourceIdentifyId; |
| | | } |
| | | |
| | | public String getIdentifyCode() { |
| | | return identifyCode; |
| | | } |
| | | |
| | | public void setIdentifyCode(String identifyCode) { |
| | | this.identifyCode = identifyCode; |
| | | } |
| | | |
| | | public String getBeiZhu() { |
| | | return beiZhu; |
| | | } |
| | | |
| | | public void setBeiZhu(String beiZhu) { |
| | | this.beiZhu = beiZhu; |
| | | } |
| | | |
| | | 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 Integer getOrderType() { |
| | | return orderType; |
| | | } |
| | | |
| | | public void setOrderType(Integer orderType) { |
| | | this.orderType = orderType; |
| | | } |
| | | |
| | | } |