/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.ycwh.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * 账号表 实体类
 *
 * @author BladeX
 * @since 2023-08-29
 */
@Data
@TableName("ycwh_account")
@ApiModel(value = "Account对象", description = "账号表")
@EqualsAndHashCode(callSuper = true)
public class AccountEntity extends BaseEntity {

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	 * 顺序
	 */
	@ApiModelProperty(value = "顺序")
	private Integer sort;
	/**
	 * 账户类型：1、C端用户，前端用户；2、B端用户，后台用户；
	 */
	@ApiModelProperty(value = "账户类型：1、C端用户，前端用户；2、B端用户，后台用户；")
	private Integer type;
	/**
	 * 登录名
	 */
	@ApiModelProperty(value = "登录名")
	private String account;
	/**
	 * 附加账号
	 */
	@ApiModelProperty(value = "附加账号")
	private String appendAccount;
	/**
	 * 登录密码
	 */
	@ApiModelProperty(value = "登录密码")
	private String password;
	/**
	 * 密码盐
	 */
	@ApiModelProperty(value = "密码盐")
	private String salt;
	/**
	 * 登录方式：1、用户名；2、微信；
	 */
	@ApiModelProperty(value = "登录方式：1、用户名；2、微信；")
	private Integer loginstyle;
	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "用户id")
	private Long memberId;

}
