ESUserFansRecord.cs 934 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System;
  2. namespace JiaZhiQuan.Common.ElasticSearch.Models
  3. {
  4. /*
  5. PUT /user_fans_record
  6. {
  7. "mappings": {
  8. "properties": {
  9. "id": {
  10. "type": "keyword"
  11. },
  12. "userId": {
  13. "type": "long"
  14. },
  15. "fansId": {
  16. "type": "long"
  17. },
  18. "enabled": {
  19. "type": "integer"
  20. },
  21. "createAt": {
  22. "type": "date",
  23. "format": "yyyy-MM-dd HH:mm:ss"
  24. },
  25. "updateAt": {
  26. "type": "date",
  27. "format": "yyyy-MM-dd HH:mm:ss"
  28. }
  29. }
  30. }
  31. }
  32. */
  33. /// <summary>
  34. /// user_fans_record
  35. /// </summary>
  36. public class ESUserFansRecord
  37. {
  38. [ESId("_id")]
  39. public string id { get; set; }
  40. public long userId { get; set; }
  41. public long fansId { get; set; }
  42. public int enabled { get; set; }
  43. public DateTime createAt { get; set; }
  44. public DateTime updateAt { get; set; }
  45. }
  46. }