颐和api

TestTypes.cs 819B

1234567891011121314151617181920212223242526272829303132
  1. using MadRunFabric.Common;
  2. using MongoDB.Bson.Serialization.Attributes;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Text;
  7. namespace MadRunFabric.Model.TestUserTypeApi
  8. {
  9. public class TestTypes : IBaseModel<string>
  10. {
  11. /// <summary>
  12. /// id
  13. /// </summary>
  14. [Key]
  15. [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
  16. public string id { get; set; }
  17. /// <summary>
  18. /// 类型名称
  19. /// </summary>
  20. public string Typename { get; set; }
  21. /// <summary>
  22. /// 创建时间
  23. /// </summary>
  24. public DateTime? Createtime { get; set; }
  25. /// <summary>
  26. /// 是否删除
  27. /// </summary>
  28. public int isdelete { get; set; }
  29. }
  30. }