package com.sptg.permissions.api.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * title: LoginDto
 * package: com.sptg.permissions.api.dto
 * description: 登陆接口-数据传输对象
 *
 *                  
 *                 
 */
@Getter
@Setter
@NoArgsConstructor
public class LoginDto {

    @TableField(exist = false)
    private Long id;

    /**
     * 登陆名
     */
    @TableField(exist = false)
    private String loginName;

    /**
     * 登陆密码 (key = sptg)
     */
    @TableField(exist = false)
    private String loginPwd;

    /**
     * 记住密码标识：默认：不记住,1：记住密码
     */
    @TableField(exist = false)
    private int rememberMe = 0;

    public LoginDto(long id,String loginPwd){
        this.id = id;
        this.loginPwd = loginPwd;
    }
}
