Zxd.Core/code/Zxd.Entity/UserCenter/UserInfo.cs

50 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zxd.Entity.UserCenter
{
[Table("userinfo")]
public class UserInfo
{
[Key]
[JsonPropertyName("uid")]
public int Uid { get; set; }
[JsonPropertyName("appid")]
public string? Appid { get; set; }
[JsonPropertyName("appuserid")]
public string? Appuserid { get; set; }
[JsonPropertyName("customerid")]
public int Customerid { get; set; }
[JsonPropertyName("resid")]
public string? Resid { get; set; }
[JsonPropertyName("mobile")]
public string? Mobile { get; set; }
[JsonPropertyName("unionid")]
public string? Unionid { get; set;}
}
public class UserInfoReq {
public string uid { get; set; }
public string? appid { get; set; }
public string? appuserid { get; set; }
public string customerid { get; set; }
public string? resid { get; set; }
public string? unionid { get; set; }
}
}