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

import cn.reghao.jutil.jdk.db.BaseObject;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author reghao
 * @date 2024-02-14 14:58:31
 */
@NoArgsConstructor
@Getter
public class UserProfile extends BaseObject<Integer> {
    private Long userId;
    private Integer gender;
    private String signature;
    private int following;
    private int follower;

    public UserProfile(long userId) {
        this.userId = userId;
        this.gender = 2;
        this.signature = "";
        this.following = 0;
        this.follower = 0;
    }

    @Deprecated
    public UserProfile(long userId, int gender, String signature) {
        this.userId = userId;
        this.gender = gender;
        this.signature = signature;
        this.following = 0;
        this.follower = 0;
    }
}
