Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // this is generated file, do not edit
- export type LoaiNghiAppliedForGender = 'Male' | 'Female' | 'All'
- export type LoaiNghiDateTimeSelectionType = 'date-and-time-amount' | 'date-and-start-end-time' | 'from-to-date-with-shifts' | 'from-to-date'
- /**
- * Các loại nghỉ được áp dụng, vd: nghỉ phép, nghỉ BHXH, nghỉ không lương...
- */
- export interface LoaiNghi {
- Id: number;
- /**
- * Mã của loại nghỉ
- */
- Code: string
- /**
- * Tên của loại nghỉ, được hiện ra trên app cho người dùng
- */
- Name: string
- /**
- * Mã màu, theo chuẩn string của ReactNative
- */
- ColorCode?: string
- /**
- * Nghỉ có được trả lương hay không
- */
- Paid: boolean
- /**
- * 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]'
- */
- AppliedForRequestTypeCodes: string
- /**
- * Áp dụng cho những loại giới tính nào
- */
- AppliedForGender: LoaiNghiAppliedForGender
- /**
- * Chưa rõ dùng ntn
- */
- MaxDaysOffPerYear: number
- /**
- * Chưa rõ dùng ntn
- */
- MaxHoursOffPerYear: number
- /**
- * Dùng để sắp xếp thứ tự item khi hiển thị
- */
- ItemOrder: number
- /**
- * Self descriptive
- */
- IsActive: boolean
- /**
- * - date-and-time-amount: chọn ngày và thời lượng (cho đi muộn và về sớm)
- - 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ờ)
- - 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ỉ
- - from-to-date: nghỉ dài hạn, chỉ cho chọn ngày bắt đầu và kết thúc
- */
- DateTimeSelectionType: LoaiNghiDateTimeSelectionType
- Created: Date;
- CreatedBy: {Id: number; Title: string};
- Modified: Date;
- ModifiedBy: {Id: number; Title: string};
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement