打开领域层(即JD.CRS.Core)的Entitys目录 //用以存放实体对象
添加一个枚举StatusCode.cs //状态信息
1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 5 namespace JD.CRS.Entitys 6 { 7 public enum StatusCode : byte 8 { 9 Enabled = 0, 10 Disabled = 1 11 } 12 }