예제 #1
0
        public static Income GetIncome(OracleCost flatObj, Guid projectId)
        {
            if (flatObj == null)
            {
                throw new NullReferenceException("flatObj");
            }
            Income income = new Income
            {
                ProjectId      = projectId,
                OracleCurrency = flatObj.OracleCurrency,
                CostAmount     = flatObj.CostAmount,
                Comment        = flatObj.Comment
            };

            income.Format();
            return(income);
        }