zrg
2024-08-16 18865d8bf24382e850e661dec6cca0e8b9dba6ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiAttendanceVacationTypeDeleteResponse.
    /// </summary>
    public class OapiAttendanceVacationTypeDeleteResponse : DingTalkResponse
    {
        /// <summary>
        /// dingOpenErrcode
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// errorMsg
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// LeaveTypeVo
        /// </summary>
        [XmlElement("result")]
        public LeaveTypeVoDomain Result { get; set; }
 
        /// <summary>
        /// 是否正确访问
        /// </summary>
        [XmlElement("success")]
        public bool Success { get; set; }
 
    /// <summary>
/// LeaveTypeVoDomain Data Structure.
/// </summary>
[Serializable]
 
public class LeaveTypeVoDomain : TopObject
{
            /// <summary>
            /// 假期类型,普通假期或者加班转调休假期。(general_leave、lieu_leave其中一种)
            /// </summary>
            [XmlElement("biz_type")]
            public string BizType { get; set; }
    
            /// <summary>
            /// 每天折算的工作时长(百分之一 例如1天=10小时=1000)
            /// </summary>
            [XmlElement("hours_in_per_day")]
            public long HoursInPerDay { get; set; }
    
            /// <summary>
            /// 假期类型唯一标示
            /// </summary>
            [XmlElement("leave_code")]
            public string LeaveCode { get; set; }
    
            /// <summary>
            /// 假期名称
            /// </summary>
            [XmlElement("leave_name")]
            public string LeaveName { get; set; }
    
            /// <summary>
            /// 请假单位,可以按照天半天或者小时请假。(day、halfday、hour其中一种)
            /// </summary>
            [XmlElement("leave_view_unit")]
            public string LeaveViewUnit { get; set; }
    
            /// <summary>
            /// 是否按照自然日统计请假时长,当为false的时候,用户发起请假时候会根据用户在请假时间段内的排班情况来计算请假时长。
            /// </summary>
            [XmlElement("natural_day_leave")]
            public bool NaturalDayLeave { get; set; }
}
 
    }
}