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;

/**
 * 企业与用户关系视图对象
 *
 * @author zsElectric
 * @since 2025-12-12 10:29
 */
@Getter
@Setter
@Schema( description = "企业与用户关系视图对象")
public class UserFirmVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    private Long id;
    @Schema(description = "用户id")
    private Long userId;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "企业id")
    private Long firmId;
    @Schema(description = "企业id")
    private String firmName;
    @Schema(description = "身份 1 管理员 2普通员工")
    private Integer type;
    @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;
}
