package com.zsElectric.boot.business.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.math.BigDecimal;

/**
 * 个人用户信息视图对象
 *
 * @author zsElectric
 * @since 2025-12-12 10:27
 */
@Getter
@Setter
@Schema( description = "个人用户信息视图对象")
public class UserInfoVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "个人用户编号")
    private Long id;
    @Schema(description = "所属集团编号")
    private Long ecId;
    @Schema(description = "昵称")
    private String nickName;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "微信openid")
    private String openid;
    @Schema(description = "积分")
    private BigDecimal integralNum;
    @Schema(description = "所属第三方（无则为自营）")
    private Long groupId;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "创建人")
    private Long createBy;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    @Schema(description = "更新人")
    private Long updateBy;
    @Schema(description = "逻辑删除（0-未删除 1-已删除）")
    private Integer isDeleted;
}
