package com.bonus.sgzb.auth.form;

import com.bonus.sgzb.auth.enums.AccountTypeEnum;
import com.bonus.sgzb.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * 注冊form类
 *
 * @author shuqiwang
 */
@Data
@ToString
public class RegisterForms extends BaseEntity {

    /**
     * 企业名称
     */
    @ApiModelProperty(name = "enterpriseName", value = "企业名称")
    private String enterpriseName;
    /**
     * 用户名
     */
    @ApiModelProperty(name = "userAccount", value = "用户账号")
    private String userAccount;
    /**
     * 登录密码
     */
    @ApiModelProperty(name = "userPassword", value = "登录密码")
    private String userPassword;
    /**
     * 确认密码
     */
    @ApiModelProperty(name = "againPassword", value = "确认密码")
    private String againPassword;
    /**
     * 手机号码
     */
    @ApiModelProperty(name = "mobilePhone", value = "手机号码")
    private String mobilePhone;
    /**
     * 手机验证码
     */
    @ApiModelProperty(name = "mobilePhoneCode", value = "手机验证码")
    private String mobilePhoneCode;
    /**
     * 注册用户类型 {@link AccountTypeEnum}
     */
    @ApiModelProperty(name = "accountType", value = "账号类型，1，运营方，2.采购商，3供应商")
    private Integer accountType;
    /**
     * 重定向返回的地址
     */
    private String returnUrl;

    private Long platformId;

    @ApiModelProperty(name = "isPersonal", value = "个人或企业")
    private Integer isPersonal;

    /*==========================以下是辅助字段==========================begin*/
    /**
     * ip
     */
    private String loginIp;
    /**
     * 媒介（IE，谷歌，火狐，APP）
     */
    private String loginMedia;
    /**
     * 运行时的系统环境
     */
    private String loginDevice;
    /*==========================以上是辅助字段==========================end*/

    /**
     * 登录方式类型
     */
    private Integer loginModeType;

    /**
     * 是否原有用户
     */
    @ApiModelProperty(name = "isOriginalUser",value = "是否原有用户")
    private Integer isOriginalUser;

    /**
     * 南网   外部关联Id(集成平台联调Id)
     */
    @ApiModelProperty(name = "externalId",value = "南网外部关联Id(集成平台联调Id)")
    private String externalId;

}
