PbModelDb.cs 547 B

123456789101112131415161718192021
  1. using com.hnshituo.orm.annotation;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Common
  8. {
  9. public class PbModelDb
  10. {
  11. [Column(Caption = "主键", Nullable = false, Length = 50)]
  12. public string id { get; set; }
  13. [Column(Caption = "内容1", Nullable = false, Length = 100)]
  14. public string text { get; set; }
  15. [Column(Caption = "内容2", Nullable = false, Length = 100)]
  16. public string text2 { get; set; }
  17. }
  18. }