您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

47 行
1.1 KiB

  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPA.Model.Table
  8. {
  9. public class MaterialTB
  10. {
  11. /// <summary>
  12. /// 数据ID
  13. /// </summary>
  14. [SugarColumn(IsPrimaryKey = true,IsIdentity =true)]
  15. public int ID { get; set; }
  16. /// <summary>
  17. /// 物料名称
  18. /// </summary>
  19. public string Name { get; set; }
  20. /// <summary>
  21. /// 物料编码
  22. /// </summary>
  23. public string MaterialCode { get; set; }
  24. /// <summary>
  25. /// 是否激活
  26. /// </summary>
  27. public bool IsActive { get; set; }
  28. /// <summary>
  29. /// 创建时间
  30. /// </summary>
  31. [SugarColumn(IsOnlyIgnoreUpdate =true)]
  32. public string CreateTime { get; set; }
  33. /// <summary>
  34. /// 最后修改时间
  35. /// </summary>
  36. public string LastModified { get; set; }
  37. /// <summary>
  38. /// 物料描述
  39. /// </summary>
  40. [SugarColumn(IsNullable =true)]
  41. public string Description { get; set; }
  42. }
  43. }