package com.ruoyi.web.modules.account.dto;

/**
 * C 端登录
 */
public class MemberLoginDTO
{
    /** 登录账号：手机号或会员名称（sys_user.user_name / memberCode） */
    private String account;

    /** @deprecated 兼容旧客户端；优先使用 account */
    private String mobile;

    private String password;

    /** 是否已同意商城服务协议（协议未启用时可忽略） */
    private Boolean agreementAccepted;

    public String getAccount()
    {
        return account;
    }

    public void setAccount(String account)
    {
        this.account = account;
    }

    public String getMobile()
    {
        return mobile;
    }

    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public Boolean getAgreementAccepted()
    {
        return agreementAccepted;
    }

    public void setAgreementAccepted(Boolean agreementAccepted)
    {
        this.agreementAccepted = agreementAccepted;
    }
}
