package com.ssm.manage.response;

import com.ssm.manage.entity.DebtList;
import com.ssm.manage.entity.MemberList;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.List;

@Setter
@Getter
@ToString
public class MemberResponse extends MemberList {
    private Integer isSignature;
    /**
     * 门店编码
     */
    @Column(name = "store_id")
    private Long storeId;

    /**
     * 门店名称
     */
    @Column(name = "store_name")
    private String storeName;

    /**
     * 服务人编码（来源于员工档案）
     */
    @Column(name = "staff_id")
    private Long staffId;

    /**
     * 服务人名称（来源于员工档案）
     */
    @Column(name = "staff_name")
    private String staffName;


    private String passCode;
    private String token;
    //总积分数
    private Integer integral;
    //可用积分数
    private Integer consumeIntegral;
    //积分可兑换金额
    private BigDecimal integralMoney;

    //会员欠款
    private BigDecimal debtMoney;

}
