using LifePayment.Domain.Shared;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace LifePayment.Application.Contracts
{
public class LifePayPhoneMesssageCodeLoginInput : ChannelsBaseInput
{
///
/// 手机号
///
[DisplayName("手机号")]
[Required(ErrorMessage = "{0}不能为空")]
[RegularExpression(LifePaymentConstant.RegularExpression.PhoneNumberRegEx, ErrorMessage = "{0}格式错误")]
public string PhoneNumber { get; set; }
}
public class WxMiniAppIndentityInfo
{
///
/// 会话密钥
///
public string SessionKey { get; set; }
///
/// 小程序OpenId
///
public string OpenId { get; set; }
///
/// 用户名(该值为空则需手机授权登录,不为空则已有该小程序用户)
///
public string UserName { get; set; }
///
///
///
public string UnionId { get; set; }
}
}