366991046a
地址已绑定编译结果,支持历史记录切换功能 Co-authored-by: jackfiled <xcrenchangjun@outlook.com> Reviewed-on: PostGuard/Canon#51 Co-authored-by: Ichirinko <1621543655@qq.com> Co-committed-by: Ichirinko <1621543655@qq.com>
22 lines
511 B
C#
22 lines
511 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 DateTime CompileTime { get; set; }
|
|
}
|