zhengyuxuan
2025-03-19 82831a86d529817e51f5b6e3cec636d21cef3c9b
LifePayment/LifePayment.Application.Contracts/User/QrCodeLogin.cs
@@ -1,6 +1,8 @@
using LifePayment.Domain.Shared;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using ZeroD.Util;
namespace LifePayment.Application.Contracts
{
@@ -39,4 +41,77 @@
        /// </summary>
        public string UnionId { get; set; }
    }
    public class CreateAccountInput
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        [RegularExpression(LifePaymentConstant.RegularExpression.UserNameEx, ErrorMessage = "账号格式不正确")]
        public string UserName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 用户端Id
        /// </summary>
        public string ClientId { get; set; } = Constant.ClientType.Back;
        /// <summary>
        /// 角色
        /// </summary>
        public string[] RoleNames { get; set; }
        /// <summary>
        /// 渠道列表
        /// </summary>
        public string[] ChannlesId { get; set; }
        /// <summary>
        /// 小程序OpenId
        /// </summary>
        public string OpenId { get; set; }
        ///// <summary>
        ///// 联系人
        ///// </summary>
        // public string Contact { get; set; }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string EnterpriseName { get; set; }
        /// <summary>
        /// 企业类型
        /// </summary>
        public EnterpriseTypeEnum? AuthType { get; set; }
        /// <summary>
        /// MatchMaking小程序OpenId
        /// </summary>
        public string MatchMakingOpenId { get; set; }
        /// <summary>
        /// 组织架构公司id
        /// </summary>
        public Guid? CompanyOrgId { get; set; }
        /// <summary>
        /// 组织架构部门id
        /// </summary>
        public Guid? DepartmentOrgId { get; set; }
    }
}