20 lines
529 B
C#
20 lines
529 B
C#
using MongoDB.Bson.Serialization.Attributes;
|
|
using MongoDB.Bson;
|
|
|
|
namespace ChatRAG.Models
|
|
{
|
|
public class Project
|
|
{
|
|
[BsonId]
|
|
[BsonElement("_id")]
|
|
[BsonRepresentation(BsonType.ObjectId)]
|
|
public string Id { get; set; }
|
|
|
|
public string Nome { get; set; }
|
|
public string Descricao { get; set; }
|
|
public DateTime DataCriacao { get; set; }
|
|
public string Status { get; set; } // "ativo", "arquivado", etc.
|
|
public string[] Tecnologias { get; set; }
|
|
}
|
|
}
|