BillResult.cs 795 Bytes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HHWCS.Bill
{
    public class BillResult<T>
    {
        public BillResult(bool success, string msg, T data)
        {
            Success = success;
            Msg = msg;
            Data = data;
        }

        public bool Success { get; set; }
        public string Msg { get; set; }
        public T Data { get; set; }
    }

    public class BillResult
    {
        public BillResult(bool success, string msg, object data)
        {
            Success = success;
            Msg = msg;
            Data = data;
        }

        public bool Success { get; set; }
        public string Msg { get; set; }
        public object Data { get; set; }
    }
}