package com.xunhong.erp.turbo.user.domain.entity;

import com.alibaba.cola.domain.Entity;
import com.alibaba.cola.dto.DTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shenyifei
 */
@Data
@Entity
@EqualsAndHashCode(callSuper = true)
public class UserAuth extends DTO {

	/**
	 * 用户认证id
	 */
	private Long userAuthId;

	/**
	 * 用户id
	 */
	private Long userId;

	/**
	 * 账户
	 */
	private String username;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 认证类型
	 */
	private Integer type;

	/**
	 * 状态 1.启用 2.禁用
	 */
	private Integer state;

	private User user;
}
