Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.                     // this is generated file, do not edit
  3.  
  4.                    
  5.  
  6.  
  7.  
  8.  
  9. export type LoaiNghiAppliedForGender = 'Male' | 'Female' | 'All'
  10.  
  11.  
  12.  
  13.  
  14. export type LoaiNghiDateTimeSelectionType = 'date-and-time-amount' | 'date-and-start-end-time' | 'from-to-date-with-shifts' | 'from-to-date'
  15.  
  16.                     /**
  17.                      * Các loại nghỉ được áp dụng, vd: nghỉ phép, nghỉ BHXH, nghỉ không lương...
  18.                      */
  19.                     export interface LoaiNghi {
  20.                       Id: number;
  21.                      
  22.       /**
  23.           * Mã của loại nghỉ
  24.           */
  25.       Code: string
  26.    
  27.  
  28.       /**
  29.           * Tên của loại nghỉ, được hiện ra trên app cho người dùng
  30.           */
  31.       Name: string
  32.    
  33.  
  34.       /**
  35.           * Mã màu, theo chuẩn string của ReactNative
  36.           */
  37.       ColorCode?: string
  38.    
  39.  
  40.       /**
  41.           * Nghỉ có được trả lương hay không
  42.           */
  43.       Paid: boolean
  44.    
  45.  
  46.       /**
  47.           * Loại nghỉ này được áp dụng cho những loại yêu cầu nghỉ nào. Format: '[Code1],[Code2],[Code3]'
  48.           */
  49.       AppliedForRequestTypeCodes: string
  50.    
  51.  
  52.       /**
  53.           * Áp dụng cho những loại giới tính nào
  54.           */
  55.       AppliedForGender: LoaiNghiAppliedForGender
  56.    
  57.  
  58.       /**
  59.           * Chưa rõ dùng ntn
  60.           */
  61.       MaxDaysOffPerYear: number
  62.    
  63.  
  64.       /**
  65.           * Chưa rõ dùng ntn
  66.           */
  67.       MaxHoursOffPerYear: number
  68.    
  69.  
  70.       /**
  71.           * Dùng để sắp xếp thứ tự item khi hiển thị
  72.           */
  73.       ItemOrder: number
  74.    
  75.  
  76.       /**
  77.           * Self descriptive
  78.           */
  79.       IsActive: boolean
  80.    
  81.  
  82.       /**
  83.           * - date-and-time-amount: chọn ngày và thời lượng (cho đi muộn và về sớm)
  84. - date-and-start-end-time: chọn ngày và thời gian bắt đầu + kết thúc (cho ra vào trong giờ)
  85. - from-to-date-with-shifts: nghỉ ngắn hạn, cho chọn ngày bắt đầu, kết thúc kèm các ca làm việc sẽ nghỉ
  86. - from-to-date: nghỉ dài hạn, chỉ cho chọn ngày bắt đầu và kết thúc
  87.           */
  88.       DateTimeSelectionType: LoaiNghiDateTimeSelectionType
  89.    
  90.                       Created: Date;
  91.                       CreatedBy: {Id: number; Title: string};
  92.                       Modified: Date;
  93.                       ModifiedBy: {Id: number; Title: string};
  94.                     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement