24 lines
579 B
C#
24 lines
579 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using MongoDB.Bson;
|
|
|
|
namespace Canon.Server.Entities;
|
|
|
|
public class CompileResult
|
|
{
|
|
public ObjectId Id { get; set; }
|
|
|
|
[MaxLength(40)]
|
|
public string CompileId { get; set; } = string.Empty;
|
|
|
|
public string SourceCode { get; set; } = string.Empty;
|
|
|
|
[MaxLength(40)]
|
|
public string SytaxTreeImageFilename { get; set; } = string.Empty;
|
|
|
|
public string CompiledCode { get; set; } = string.Empty;
|
|
|
|
public string CompileInformation { get; set; } = string.Empty;
|
|
|
|
public DateTime CompileTime { get; set; }
|
|
}
|