赖素文
authored
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
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);
}
}
|