using System; using System.Collections.Generic; using System.Text; namespace DTO { public class HrSalaryDTO { public string Id { get; set; } public string Userid { get; set; } public int Year { get; set; } public int Month { get; set; } public string YearMonth { get { return Year + "-" + Month.ToString().PadLeft(2, '0'); } } public string Usernumber { get; set; } public string UserName { get; set; } public string DeptName { get; set; } public decimal? Jibengongzi { get; set; } public decimal? Baomifei { get; set; } public decimal? Gongzuobutie { get; set; } public decimal? Jiabangongzi { get; set; } public decimal? Shebao { get; set; } public decimal? Dianhuabutie { get; set; } public decimal? Quanqinjiang { get; set; } public decimal? Jiaotngbutie { get; set; } public decimal? Jixiaoticheng { get; set; } public decimal? Jiangjin { get; set; } public decimal? Bufagongzi { get; set; } public decimal sum_fgz { get { return ( (Jibengongzi??0) + (Baomifei??0) + (Gongzuobutie??0) + (Jiabangongzi??0) + (Shebao??0) + (Dianhuabutie??0) + (Quanqinjiang??0) + (Jiaotngbutie??0) + (Jixiaoticheng??0) + (Jiangjin??0) + (Bufagongzi??0)); } } public decimal? Shebaokou { get; set; } public decimal? Geshui { get; set; } public decimal? Dianhuafei { get; set; } public decimal? Queqin { get; set; } public decimal? Fakuan { get; set; } public decimal? Peichang { get; set; } public decimal? Jiucuo { get; set; } public decimal sum_kgz { get { return (Shebaokou??0) + (Geshui?? 0) + (Dianhuafei ?? 0) + (Queqin ?? 0) + (Fakuan ?? 0) + (Peichang ?? 0) + (Jiucuo ?? 0); } } public decimal? Daozhanggongzi { get; set; } public decimal? Yufagongzi { get; set; } public decimal? Yufagongziheji { get; set; } public string JibengongziName { get; set; } public string BaomifeiName { get; set; } public string GongzuobutieName { get; set; } public string JiabangongziName { get; set; } public string ShebaoName { get; set; } public string DianhuabutieName { get; set; } public string QuanqinjiangName { get; set; } public string JiaotngbutieName { get; set; } public string JixiaotichengName { get; set; } public string JiangjinName { get; set; } public string BufagongziName { get; set; } public string ShebaokouName { get; set; } public string GeshuiName { get; set; } public string DianhuafeiName { get; set; } public string QueqinName { get; set; } public string FakuanName { get; set; } public string PeichangName { get; set; } public string JiucuoName { get; set; } public string DaozhanggongziName { get; set; } public string YufagongziName { get; set; } public string YufagongzihejiName { get; set; } public string Islock { get; set; } public string IslockChs { get { string str = ""; switch(Islock) { case "D": str = "未确认"; break; case "S": str = "申诉"; break; case "Q": str = "已确认"; break; } return str; } } public string RecStatus { get; set; } public string Creater { get; set; } public DateTime Createtime { get; set; } public string Modifier { get; set; } public DateTime Modifytime { get; set; } public string reason { get; set; } public decimal amount { get; set; } public string basis { get; set; } } public partial class HrSalaryDTOSearch : SearchEntity { public string searchDate { get; set; } public string YearMonth { get; set; } public string Usernumber { get; set; } public string DeptId { get; set; } public string UserName { get; set; } } }