package com.zhongshu.card.server.core.domain.projectAbout;

import com.zhongshu.card.server.core.domain.base.SuperMain;
import com.zhongshu.card.server.core.domain.org.Organization;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.DBRef;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 项目相关的 excel 模版
 *
 * @author TRX
 * @date 2024/9/24
 */
@Data
@Builder
@Document
@AllArgsConstructor
@NoArgsConstructor
public class ProjectExcelTemplate extends SuperMain {

    @Schema(description = "项目信息")
    @DBRef(lazy = true)
    private Organization projectInfo;

    @Schema(description = "项目名称")
    private String projectName;

    @Schema(description = "项目编码")
    private String projectCode;

    //----------------------------业务信息 start-----------------

    @Schema(description = "类型")
    private String mark;

    @Schema(description = "文件url")
    private String url;

}
