CodePreviewVM.cs
750 Bytes
using System.Collections.Generic;
namespace Hh.Mes.POJO.ViewModel
{
/// <summary>
/// 代码预览VM
/// </summary>
public class CodePreviewVM
{
public CodePreviewVM()
{
AreaItems = new List<string>();
}
public string ServiceTemp { get; set; }
public string ControllerTemp { get; set; }
public string JavaScriptTemp { get; set; }
public string ModelTemp { get; set; }
public string CshtmlTemp { get; set; }
public string AreaName { get; set; }
public string EntityName { get; set; }
public IEnumerable<string> AreaItems { get; set; }
public bool SaveBtnDisabled => string.IsNullOrWhiteSpace(AreaName);
}
}