20e82c6f4f
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>
23 lines
537 B
C#
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; }
|
|
}
|