namespace Learun.Application.WeChat { public class DepartmentUpdate : OperationRequestBase { protected override string Url() { return "https://qyapi.weixin.qq.com/cgi-bin/department/update?access_token=ACCESS_TOKEN"; } /// /// 部门id /// /// [IsNotNull] public string id { get; set; } /// /// 更新的部门名称。长度限制为0~64个字符。修改部门名称时指定该参数 /// /// [Length(0,64)] public string name { get; set; } /// /// 父亲部门id。根部门id为1 /// /// public string parentid { get; set; } /// /// 在父部门中的次序。从1开始,数字越大排序越靠后 /// /// public string order { get; set; } } }