Files
thinkyu/Web/App_Code/Module/RPAR.cs
T
sryang 577060bc78 chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore
- 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
2026-09-10 09:42:37 +08:00

107 lines
3.8 KiB
C#

using System;
using System.Collections.Generic;
using System.Web;
using System.ComponentModel;
/// <summary>
/// RPAR 的摘要描述
/// </summary>
public partial class RPAR
{
public string RPREN { get; set; }
public string RPNUM { get; set; }
public int RAITM { get; set; }
public string RPCNM { get; set; }
public string RPPYN { get; set; }
public DateTime RPRDT { get; set; }
public DateTime RPEDT { get; set; }
public string RPTYP { get; set; }
public double RPFTR { get; set; }
public string RPDOC { get; set; }
public int APPNO { get; set; }
public DateTime RPADT { get; set; }
public string RPAPN { get; set; }
public string RPANO { get; set; }
public string RPAPP { get; set; }
public DateTime RPAPD { get; set; }
public string RPAPU { get; set; }
public string RPAGT { get; set; }
public string RPAGM { get; set; }
public string RPRTM { get; set; }
public string RPETM { get; set; }
public int RPUST { get; set; }
public string RPRSN { get; set; }
public string RPPLC { get; set; }
public string RPFPC { get; set; }
public string RPFAD { get; set; }
public decimal RPKMS { get; set; }
public DateTime TRDAT { get; set; }
public string TRMOD { get; set; }
public string TRUSR { get; set; }
public int RPTCT { get; set; }
public int RPTMT { get; set; }
public int RPTC1 { get; set; }
public int RPTM1 { get; set; }
public int RPTC2 { get; set; }
public int RPTM2 { get; set; }
public int RPTC3 { get; set; }
public int RPTM3 { get; set; }
public int RPTC4 { get; set; }
public int RPTM4 { get; set; }
public int RPTC5 { get; set; }
public int RPTM5 { get; set; }
public int RPTA1 { get; set; }
public int RPTA2 { get; set; }
public int RPTA3 { get; set; }
public int RPTA4 { get; set; }
public int RPTA5 { get; set; }
}
public class RPAR_TYPE
{
public const string T0_請假 = "0";
public const string T00_補休 = "00";
public const string T01_特休 = "01";
public const string T02_事假 = "02";
public const string T03_病假 = "03";
public const string T04_喪假 = "04";
public const string T05_產假 = "05";
public const string T06_婚假 = "06";
public const string T07_陪產假 = "07";
public const string T08_公假 = "08";
public const string T09_公傷假 = "09";
public const string T0A_生理假 = "0A";
public const string T0B_家庭照顧假 = "0B";
public const string T0C_育嬰假 = "0C";
public const string T0D_原民祭儀假 = "0D";
public const string T0E_產檢假 = "0E";
public const string T0F_防疫照顧假 = "0F";
public const string T0G_無薪假 = "0G";
public const string T0H_防疫隔離假 = "0H";
public const string T1_加班 = "1";
public const string T11_非休息日累積補休時數 = "11";
public const string T12_非休息日請領加班費 = "12";
public const string T13_休息日累積補休時數 = "13";
public const string T14_休息日請領加班費 = "14";
public const string T15_國定假日累積補休時數 = "15";
public const string T16_國定假日請領加班費 = "16";
public const string T17_例假日累積補休時數 = "17";
public const string T18_例假日請領加班費 = "18";
public const string T2_電話油料 = "2";
public const string T21_電話費 = "21";
public const string T22_油料費 = "22";
public const string T3_出差 = "3";
public const string T31_短程出差 = "31";
public const string T32_長程出差 = "32";
public const string T33_公出 = "33";
public const string T34_公假 = "34";
public static bool 休息日加班(string rparType)
{
return rparType == T13_休息日累積補休時數 || rparType == T14_休息日請領加班費;
}
}