namespace learun.wechat { /// /// 版 本 EasyCode EC管理后台 /// Copyright (c) 2019-present EC管理有限公司 /// 创建人:tobin /// 日 期:2019.11.06 /// 描 述:创建部门 /// public class DepartmentCreate : OperationRequestBase { /// /// /// /// protected override string Url() { return "https://qyapi.weixin.qq.com/cgi-bin/department/create?access_token=ACCESS_TOKEN"; } /// /// 部门id /// /// public string id { get; set; } /// /// 部门名称。长度限制为1~64个字符 /// /// [Length(1, 64)] [IsNotNull] public string name { get; set; } /// /// 父亲部门id。根部门id为1 /// /// [IsNotNull] public string parentid { get; set; } /// /// 在父部门中的次序。从1开始,数字越大排序越靠后 /// /// public string order { get; set; } } }