ComplianceServer/oldcode/ZXDService/Dto/WeworkUserAssignDto.cs

88 lines
3.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace ZXDService.Dto
{
public class WeworkUserAssignDto
{
public WeworkUserAssignDto()
{
}
public WeworkUserAssignDto(string appuserid, int channel, int curchannel, string remark) : this(1, "com.dongniu", appuserid, string.Empty, channel, curchannel, 0, string.Empty, remark)
{
this.appuserid = appuserid;
this.channel = channel;
this.curchannel = curchannel;
this.remark = remark;
}
public WeworkUserAssignDto(int apptype, string appid, string appuserid, string unionid, int channel, int curchannel, int type, string livecode, string remark)
{
this.apptype = apptype;
this.appid = appid;
this.appuserid = appuserid;
this.unionid = unionid;
this.channel = channel;
this.curchannel = curchannel;
this.type = type;
this.livecode = livecode;
this.remark = remark;
}
public int apptype { get; set; }
public string appid { get; set; }
public string appuserid { get; set; }
public string unionid { get; set; }
public int channel { get; set; }
public int curchannel { get; set; }
public int type { get; set; }
public string livecode { get; set; }
public string remark { get; set; }
}
public class AssignQuery
{
public AssignQuery(string appid, string appuserid, int channel, int curchannel, string remark) : this(appid, appuserid, string.Empty, channel, curchannel, 0, string.Empty, remark, string.Empty, string.Empty, string.Empty)
{
}
public AssignQuery(string appid, string appuserid, string unionid, int channel, int curchannel, int type, string livecode, string remark, string remarkext, string memo, string eid)
{
this.appid = appid;
this.appuserid = appuserid;
this.unionid = unionid;
this.channel = channel;
this.curchannel = curchannel;
this.type = type;
this.livecode = livecode;
this.remark = remark;
this.remarkext = remarkext;
this.memo = memo;
this.eid = eid;
}
public string appid { get; set; }
public string appuserid { get; set; }
public string unionid { get; set; }
public int channel { get; set; }
public int curchannel { get; set; }
public int type { get; set; }//1、返回二维码链接、0、不需要返回二码码链接
public string livecode { get; set; } //活码标识30字符以内
public string remark { get; set; }//标记30字符以内
public string remarkext { get; set; }//标记补充30字符以内
public string memo { get; set; }
public string eid { get; set; }//工号
}
public class WeworkUserAssignMessage
{
public int errcode { get; set; }
public string errmsg { get; set; }
public WeworkUserAssignResult data { get; set; }
}
public class WeworkUserAssignResult
{
public string eid { get; set; }
public int? groupid { get; set; }
public string qr { get; set; }
}
}