| 1234567891011121314151617181920212223242526272829303132333435363738 |
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using Abp.Domain.Entities.Auditing;
- using Abp.MultiTenancy;
- namespace IwbZero.Authorization.Base.Users
- {
- /// <summary>
- /// Represents a summary user
- /// </summary>
- [Table("Sys_UserAccounts")]
- [MultiTenancySide(MultiTenancySides.Host)]
- public class UserAccount : FullAuditedEntity<long>
- {
- /// <summary>
- /// Maximum length of the <see cref="UserName"/> property.
- /// </summary>
- public const int MaxUserNameLength = 256;
- /// <summary>
- /// Maximum length of the <see cref="EmailAddress"/> property.
- /// </summary>
- public const int MaxEmailAddressLength = 256;
- public virtual int? TenantId { get; set; }
- public virtual long UserId { get; set; }
- public virtual long? UserLinkId { get; set; }
- [StringLength(MaxUserNameLength)]
- public virtual string UserName { get; set; }
- [StringLength(MaxEmailAddressLength)]
- public virtual string EmailAddress { get; set; }
- }
- }
|