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

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

/**
 * @author TRX
 * @date 2024/12/19
 */
@Data
@Document
@AllArgsConstructor
@NoArgsConstructor
public class ProjectDictList extends SuperMain {

    @Schema(description = "所属项目字典")
    @DBRef(lazy = true)
    private ProjectDict projectDict;

    @Schema(description = "字典项")
    private String name;

}
