Cols.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace FMSAdmin.Entities
  6. {
  7. public partial class Cols
  8. {
  9. [Required]
  10. [StringLength(1)]
  11. public string SystemDivision { get; set; }
  12. [StringLength(2000)]
  13. public string TableName { get; set; }
  14. [StringLength(2000)]
  15. public string TableDesc { get; set; }
  16. [Column("ColumnID")]
  17. public int ColumnId { get; set; }
  18. [Required]
  19. [StringLength(2000)]
  20. public string ColumnName { get; set; }
  21. [Required]
  22. [StringLength(2000)]
  23. public string ColumnDesc { get; set; }
  24. [StringLength(128)]
  25. public string ColType { get; set; }
  26. [StringLength(63)]
  27. public string ColLen { get; set; }
  28. [Required]
  29. [StringLength(2)]
  30. public string ColTypeCode { get; set; }
  31. [Required]
  32. [StringLength(1)]
  33. public string TableOrder { get; set; }
  34. [Column("max_length")]
  35. public short MaxLength { get; set; }
  36. [Column("Is_Null")]
  37. public bool? IsNull { get; set; }
  38. [Required]
  39. [Column("is_Pk")]
  40. [StringLength(2)]
  41. public string IsPk { get; set; }
  42. }
  43. }