package com.ssm.manage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ssm.manage.utils.DateUtils;
import lombok.Data;

import java.util.Date;

@Data
@TableName("member_login_recording_${tab}")
public class MemberLoginRecording {
    private Long id;
    private String memberNum;
    private String memberName;
    private Long memberId;
    private Date loginTime;
    private Long agreementId;
    private String content;
    private String agreementName;
    private Integer loginType;
    @JsonIgnore
    public String getTab(){
        return DateUtils.YMFormat(loginTime);
    }
}
