package cn.freemud.entities.dto;

/**
 * @ClassName: GetMemberExtendInfoResponseDto
 * @Description:
 * @Author: freemud
 * @Date: 2021/6/9 下午4:29
 */
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GetMemberExtendInfoResponseDto {
    private GetMemberExtendInfoResponseDto.MemberGradeDto memberGrade;
    private List<GetMemberExtendInfoResponseDto.MemberPaidDetail> memberPaids;
    private List<GetMemberExtendInfoResponseDto.GetMemberLabels> memberLabels;

    @Data
    public static class MemberGradeDto {
        private String ruleCode;
        private String ruleName;
        private String cycleDate;
    }

    @Data
    public static class MemberPaidDetail {
        private String id;
        private String paidId;
        private String paidName;
        private Date openTime;
        private Date expiryTime;
    }

    @Data
    public static class GetMemberLabels {
        private String memberId;
        private String labelCode;
        private String labelName;
        private Date updateTime;
    }
}
