You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.1 KiB

3 years ago
namespace learun.wechat
{
/// <summary>
/// 版 本 EasyCode EC管理后台
/// Copyright (c) 2019-present EC管理有限公司
/// 创建人:tobin
/// 日 期:2019.11.06
/// 描 述:部门返回信息
/// </summary>
public class DepartmentUpdate : OperationRequestBase<OperationResultsBase, HttpPostRequest>
{
/// <summary>
///
/// </summary>
/// <returns></returns>
protected override string Url()
{
return "https://qyapi.weixin.qq.com/cgi-bin/department/update?access_token=ACCESS_TOKEN";
}
/// <summary>
/// 部门id
/// </summary>
/// <returns></returns>
[IsNotNull]
public string id { get; set; }
/// <summary>
/// 更新的部门名称。长度限制为0~64个字符。修改部门名称时指定该参数
/// </summary>
/// <returns></returns>
[Length(0, 64)]
public string name { get; set; }
/// <summary>
/// 父亲部门id。根部门id为1
/// </summary>
/// <returns></returns>
public string parentid { get; set; }
/// <summary>
/// 在父部门中的次序。从1开始,数字越大排序越靠后
/// </summary>
/// <returns></returns>
public string order { get; set; }
}
}