package com.github.wxiaoqi.security.admin.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 手机号码记录表
 */
@Table(name = "app_user_phone_notes")
@Data
public class AppUserPhoneNotes {
	@Id
	@GeneratedValue(generator = "JDBC")
	private Integer id;

	@ApiModelProperty("用户id")
	@Column(name = "user_id")
	private Integer userId;

	@ApiModelProperty("旧手机号码")
	@Column(name = "old_phone")
	private String oldPhone;

	@ApiModelProperty("新手机号码")
	@Column(name = "new_phone")
	private String newPhone;

	@ApiModelProperty("创建时间")
	@Column(name = "crt_time")
	private Long crtTime;

}
