User.cs 883 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System.ComponentModel;
  2. using SqlSugar;
  3. using XF.Domain.Entities;
  4. using XF.Domain.Repository;
  5. namespace Hotline.Users
  6. {
  7. /// <summary>
  8. /// 用户
  9. /// </summary>
  10. [Description("用户")]
  11. public class User : CreationSoftDeleteEntity
  12. {
  13. /// <summary>
  14. /// 手机号(冗余)
  15. /// </summary>
  16. [SugarColumn(IsNullable = true)]
  17. public string? PhoneNo { get; set; }
  18. /// <summary>
  19. /// 展示名称(Identity.DisplayName)
  20. /// </summary>
  21. public string Name { get; set; }
  22. /// <summary>
  23. /// 工号
  24. /// </summary>
  25. [SugarColumn(IsNullable = true)]
  26. public string? StaffNo { get; set; }
  27. /// <summary>
  28. /// 默认分机号
  29. /// </summary>
  30. [SugarColumn(IsNullable = true)]
  31. public string? DefaultTelNo { get; set; }
  32. }
  33. }