package org.dromara.project.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.project.domain.BusUserProjectRelevancy;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 系统用户与项目关联视图对象 user_project_relevancy
 *
 * @author lcj
 * @date 2025-03-04
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BusUserProjectRelevancy.class)
public class BusUserProjectRelevancyVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 项目ID
     */
    @ExcelProperty(value = "项目ID")
    private Long projectId;

    /**
     * 项目详情
     */
    @ExcelProperty(value = "项目详情")
    private BusProjectVo project;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

}
