package cn.reghao.tnb.user.app.model.po;

import cn.reghao.jutil.jdk.web.db.BaseObject;
import lombok.Getter;
import lombok.Setter;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;

/**
 * @author reghao
 * @date 2022-04-18 15:31:53
 */
@Getter
@Setter
public class UserContactRecord extends BaseObject<Integer> {
    @NotNull
    private Long applyUser;
    @NotNull
    private Long appliedUser;
    // 1- 非好友, 2 - 已是好友
    @NotNull
    private Integer friendStatus;
    // 0 - 添加联系人, 1 - 已发送添加申请, 2 - 已通过添加申请
    @NotNull
    private Integer applyStatus;
    @NotNull
    @Size(max = 255, message = "remarkName 不能超过 255 个字符")
    private String remark;
}
