using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiSmartworkHrmEmployeeFieldGrouplistResponse.
///
public class OapiSmartworkHrmEmployeeFieldGrouplistResponse : DingTalkResponse
{
///
/// 错误码
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// 错误描述
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// 结果集
///
[XmlArray("result")]
[XmlArrayItem("group_meta_info")]
public List Result { get; set; }
///
/// 成功标记
///
[XmlElement("success")]
public bool Success { get; set; }
///
/// FieldMetaInfoDomain Data Structure.
///
[Serializable]
public class FieldMetaInfoDomain : TopObject
{
///
/// 字段code
///
[XmlElement("field_code")]
public string FieldCode { get; set; }
///
/// 字段描述
///
[XmlElement("field_name")]
public string FieldName { get; set; }
///
/// 字段类型
///
[XmlElement("field_type")]
public string FieldType { get; set; }
///
/// 选择字段值
///
[XmlElement("option_text")]
public string OptionText { get; set; }
}
///
/// GroupMetaInfoDomain Data Structure.
///
[Serializable]
public class GroupMetaInfoDomain : TopObject
{
///
/// 组里面的字段集合
///
[XmlArray("field_list")]
[XmlArrayItem("field_meta_info")]
public List FieldList { get; set; }
///
/// 字段组ID
///
[XmlElement("group_id")]
public string GroupId { get; set; }
///
/// 是否支持明细
///
[XmlElement("has_detail")]
public bool HasDetail { get; set; }
}
}
}