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

import com.ruoyi.web.modules.merchant.domain.BizMerchant;

/**
 * 平台新增商户（含强制绑定经营账号）
 */
public class MerchantCreateDTO extends BizMerchant
{
    private static final long serialVersionUID = 1L;

    /** SYS_USER / MEMBER */
    private String bindType;

    /** bindType=SYS_USER 时必填 */
    private Long bindUserId;

    /** bindType=MEMBER 时必填 */
    private Long bindMemberId;

    /**
     * 绑定会员时创建 sys_user 的初始密码（明文）；空则读 sys.user.initPassword
     */
    private String sysUserInitPassword;

    public String getBindType()
    {
        return bindType;
    }

    public void setBindType(String bindType)
    {
        this.bindType = bindType;
    }

    public Long getBindUserId()
    {
        return bindUserId;
    }

    public void setBindUserId(Long bindUserId)
    {
        this.bindUserId = bindUserId;
    }

    public Long getBindMemberId()
    {
        return bindMemberId;
    }

    public void setBindMemberId(Long bindMemberId)
    {
        this.bindMemberId = bindMemberId;
    }

    public String getSysUserInitPassword()
    {
        return sysUserInitPassword;
    }

    public void setSysUserInitPassword(String sysUserInitPassword)
    {
        this.sysUserInitPassword = sysUserInitPassword;
    }
}
