Sign in

wms / wms_NouYaWmsN5 · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • wms_NouYaWmsN5
  • Infrastructure
  • Response
  • WCSResponse.cs
  • 首次提交
    17fb8ab7
    霍尔 authored
    2019-10-30 11:15:16 +0800  
    Browse Code »
WCSResponse.cs 517 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
namespace Infrastructure
{
    public class WCSResponse : IResponse
    {
        public int Code { get; set; }
        public string Message { get; set; }
        public bool Status { get; set; }

        public WCSResponse()
        {
            Code = 200;
            Message = "操作成功";
            Status = true;
        }
    }

    public class WCSResponse<T> : WCSResponse
    {
        /// <summary>
        /// 回传的结果
        /// </summary>
        public T Result { get; set; }
    }
}