Canon/Canon.Server/Entities/CompileResult.cs
ichirinko 20e82c6f4f fix:修复前端bug (#83)
Co-authored-by: jackfiled <xcrenchangjun@outlook.com>
Reviewed-on: PostGuard/Canon#83
Co-authored-by: ichirinko <1621543655@qq.com>
Co-committed-by: ichirinko <1621543655@qq.com>
2024-05-13 22:29:32 +08:00

23 lines
537 B
C#

using System.ComponentModel.DataAnnotations;
using MongoDB.Bson;
namespace Canon.Server.Entities;
public class CompileResult
{
public ObjectId Id { get; set; }
public bool Error { get; set; }
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; }
}