2024-04-19 14:59:45 +08:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using MongoDB.Bson;
|
|
|
|
|
|
2024-04-22 21:26:34 +08:00
|
|
|
|
namespace Canon.Server.Entities;
|
2024-04-19 14:59:45 +08:00
|
|
|
|
|
|
|
|
|
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;
|
2024-04-22 21:26:34 +08:00
|
|
|
|
|
2024-04-29 23:55:36 +08:00
|
|
|
|
public string CompileInformation { get; set; } = string.Empty;
|
|
|
|
|
|
2024-04-22 21:26:34 +08:00
|
|
|
|
public DateTime CompileTime { get; set; }
|
2024-04-19 14:59:45 +08:00
|
|
|
|
}
|