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

import com.zhongshu.card.client.type.DataState;
import com.zhongshu.card.client.type.project.ProjectDictType;
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.Document;

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

    @Schema(description = "字典类型")
    private ProjectDictType dictType;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "状态")
    private DataState state;

}
