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
37 lines
1.0 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Volo.Abp.Domain.Entities;
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
|
|
namespace Shentun.Pacs.Models
|
|
{
|
|
/// <summary>
|
|
/// 不是本软件的表,估计是系统自动生成的
|
|
/// </summary>
|
|
[Table("sysdiagrams")]
|
|
[Index(nameof(PrincipalId), nameof(DisplayName), Name = "uk_principal_name", IsUnique = true)]
|
|
public class Sysdiagram : AuditedEntity<Guid>
|
|
{
|
|
|
|
|
|
|
|
[Column("display_name")]
|
|
[StringLength(128)]
|
|
public string DisplayName { get; set; } = null!;
|
|
[Column("principal_id")]
|
|
public Guid PrincipalId { get; set; }
|
|
|
|
[Column("version")]
|
|
public int? Version { get; set; }
|
|
[Column("definition")]
|
|
public byte[]? Definition { get; set; }
|
|
|
|
//public override object[] GetKeys()
|
|
//{
|
|
// return new object[] { DiagramId };
|
|
//}
|
|
}
|
|
}
|