IUserInfoCustomer.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. using CZFW.Framework.Attributes;
  2. using CZFW.Framework.Interface;
  3. using CZFW.Framework.Model.ViewModel;
  4. using CZKJ.GBRS2.Entity;
  5. using CZKJ.GBRS2.Model;
  6. using System;
  7. using System.Collections.Generic;
  8. using System.ComponentModel.DataAnnotations;
  9. using System.Text;
  10. namespace CZKJ.GBRS2.Interface
  11. {
  12. public interface IUserInfoCustomer:ILogicBase<CustomerInfoEntity>
  13. {
  14. ResultModel AddModel(Model.UserInfoModel model);
  15. /// <summary>
  16. /// 明细
  17. /// </summary>
  18. /// <returns></returns>
  19. TableModel<SlimCutomerInfo> GetCustomerList(int pageindex=1,int pageSize=20);
  20. /// <summary>
  21. /// 查看
  22. /// </summary>
  23. /// <param name="Id"></param>
  24. /// <returns></returns>
  25. FormModel<CustomerInfoEntity> GetModel(int Id);
  26. /// <summary>
  27. /// 用户列表
  28. /// </summary>
  29. /// <returns></returns>
  30. TableModel<CustomerInfoEntity> GetUserInFo(string userId);
  31. CustomerInfoEntity GetCuser(string userId);
  32. }
  33. public class SlimCutomerInfo
  34. {
  35. /// <summary>
  36. /// 统一认证的唯一用户标识
  37. /// </summary>
  38. ///
  39. [Display(Name = "用户编号")]
  40. public string User_id { get; set; }
  41. [Invisible]
  42. public int Id { get; set; }
  43. /// <summary>
  44. /// 手机号
  45. /// </summary>
  46. ///
  47. [Display(Name="手机号")]
  48. public string Mobile { get; set; }
  49. /// <summary>
  50. /// 昵称
  51. /// </summary>
  52. ///
  53. [Display(Name = "昵称")]
  54. public string Nickname { get; set; }
  55. /// <summary>
  56. /// 性别
  57. /// </summary>
  58. ///
  59. [Display(Name = "性别")]
  60. public string Gender { get; set; }
  61. /// <summary>
  62. /// 姓名
  63. /// </summary>
  64. ///
  65. [Display(Name = "姓名")]
  66. public string Name { get; set; }
  67. /// <summary>
  68. /// 出生年月
  69. /// </summary>
  70. ///
  71. [Display(Name = "出生年月")]
  72. public string Birthday { get; set; }
  73. }
  74. }