You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.0 KiB

1 year ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using Microsoft.EntityFrameworkCore;
  6. using Volo.Abp.Domain.Entities;
  7. using Volo.Abp.Domain.Entities.Auditing;
  8. namespace Shentun.Pacs.Models
  9. {
  10. /// <summary>
  11. /// 不是本软件的表,估计是系统自动生成的
  12. /// </summary>
  13. [Table("sysdiagrams")]
  14. [Index(nameof(PrincipalId), nameof(DisplayName), Name = "uk_principal_name", IsUnique = true)]
  15. public class Sysdiagram : AuditedEntity<Guid>
  16. {
  17. [Column("display_name")]
  18. [StringLength(128)]
  19. public string DisplayName { get; set; } = null!;
  20. [Column("principal_id")]
  21. public Guid PrincipalId { get; set; }
  22. [Column("version")]
  23. public int? Version { get; set; }
  24. [Column("definition")]
  25. public byte[]? Definition { get; set; }
  26. //public override object[] GetKeys()
  27. //{
  28. // return new object[] { DiagramId };
  29. //}
  30. }
  31. }