package com.sptg.estate.api.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.plugins.Page;
import com.sptg.estate.api.entity.Member;
import lombok.Getter;
import lombok.Setter;

/**
 * title: MemberDto
 * package: com.sptg.estate.api.dto
 * description: 会员数据传输类
 *
 *               
 *                
 */
@Setter
@Getter
public class MemberDto extends Member {

    /**
     * 分页条件
     */
    @TableField(exist = false)
    private Page<Member> page;

    /**
     * 排序条件
     */
    @TableField(exist = false)
    private String sortField;

    /**
     * 排序顺序
     */
    @TableField(exist = false)
    private String sortOrder;

    /**
     * 首页数据加载状态
     * 1 ：全部
     * 2 ：当月
     */
    @TableField(exist = false)
    private Integer isAllType;

    /**
     * 住户ID
     */
    @TableField(exist = false)
    private Long userId;

    /**
     * 小区ID
     */
    @TableField(exist = false)
    private Long residentialId;
}
