namespace Admin.NET.Plugin.GoView.Entity;
///
/// GoView 项目表
///
[SugarTable(null, "GoView 项目表")]
public class GoViewPro : EntityTenant
{
///
/// 项目名称
///
[SugarColumn(ColumnDescription = "项目名称", Length = 64)]
[Required, MaxLength(64)]
public string ProjectName { get; set; }
///
/// 项目状态
///
[SugarColumn(ColumnDescription = "项目状态")]
public GoViewProState State { get; set; } = GoViewProState.UnPublish;
///
/// 预览图片Url
///
[SugarColumn(ColumnDescription = "预览图片Url", Length = 1024)]
[MaxLength(1024)]
public string? IndexImage { get; set; }
///
/// 项目备注
///
[SugarColumn(ColumnDescription = "项目备注", Length = 512)]
[MaxLength(512)]
public string? Remarks { get; set; }
/////
///// 项目数据
/////
//[SugarColumn(IsIgnore = true)]
//[Navigate(NavigateType.OneToOne, nameof(Id))]
//public GoViewProData GoViewProData { get; set; }
}