123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- using Bowin.Common.Utility;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace EMIS.ViewModel.FeeManage
- {
- public class PrintGDCXView
- {
- public string ConfirmNo { get; set; }
- public string ReceiptNo { get; set; }
- public string College { get; set; }
- public string Classmajor { get; set; }
- public decimal? Total { get; set; }
- public string TotalStr
- {
- get
- {
- return (Total ?? 0).ToString() + "元";
- }
- }
- public string TenThousand
- {
- get
- {
- return MathEx.ConvertToChineseBig(Convert.ToInt32(Math.Floor((Total ?? 0) / 10000)) % 10);
- }
- }
- public string Thousand
- {
- get
- {
- return MathEx.ConvertToChineseBig(Convert.ToInt32(Math.Floor((Total ?? 0) / 1000)) % 10);
- }
- }
- public string Hundred
- {
- get
- {
- return MathEx.ConvertToChineseBig(Convert.ToInt32(Math.Floor((Total ?? 0) / 100)) % 10);
- }
- }
- public string Ten
- {
- get
- {
- return MathEx.ConvertToChineseBig(Convert.ToInt32(Math.Floor((Total ?? 0) / 10)) % 10);
- }
- }
- public string Yuan
- {
- get
- {
- return MathEx.ConvertToChineseBig(Convert.ToInt32(Total) % 10);
- }
- }
- public string Jiao
- {
- get
- {
- return MathEx.ConvertToChineseBig(Convert.ToInt32(Total * 10) % 10);
- }
- }
- public string Fen
- {
- get
- {
- return MathEx.ConvertToChineseBig(Convert.ToInt32(Total * 100) % 10);
- }
- }
- public string Operator { get; set; }
- public DateTime Date
- {
- get
- {
- return DateTime.Today;
- }
- }
- public int Year
- {
- get
- {
- return Date.Year;
- }
- }
- public int Month
- {
- get
- {
- return Date.Month;
- }
- }
- public int Day
- {
- get
- {
- return Date.Day;
- }
- }
- public List<PrintProjectView> projectList {
- get;set;
- }
- }
- }
|