修改实体模型
parent
b5d117f6fa
commit
32427f0f0c
|
@ -282,10 +282,19 @@ namespace IRaCIS.Application.Services
|
||||||
Console.WriteLine(RSAEncryption.Encrypt(publicKey, MD5Helper.Md5("123456")));
|
Console.WriteLine(RSAEncryption.Encrypt(publicKey, MD5Helper.Md5("123456")));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//U2FsdGVkX1+atIRsUP6uhWIMHIVmn7U2sy4HlgWiWJG1qc0WdYyQqzgTJ1JLeQGHvYrIYm90/YCkBYclYbnm1g==
|
||||||
|
|
||||||
|
|
||||||
string plainText = "Hello, BouncyCastle!";
|
string plainText = "Hello, BouncyCastle!";
|
||||||
string key = "12345678901234567890123456789012"; // AES 密钥长度应为 16 字节(128 位)
|
string key = "12345678901234567890123456789012"; // AES 密钥长度应为 16 字节(128 位)
|
||||||
string iv = "your-iv-12345678"; // IV 长度为 16 字节
|
string iv = "your-iv-12345678"; // IV 长度为 16 字节
|
||||||
|
|
||||||
|
|
||||||
|
Console.WriteLine(AesEncryption.Encrypt(MD5Helper.Md5("123456"), key));
|
||||||
|
Console.WriteLine(AesEncryption.Encrypt("cyldev", key));
|
||||||
|
|
||||||
Console.WriteLine($"原始文本: {plainText}");
|
Console.WriteLine($"原始文本: {plainText}");
|
||||||
|
|
||||||
// 加密
|
// 加密
|
||||||
|
|
|
@ -1,28 +1,29 @@
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
|
||||||
|
[Comment("医生 - 医生字典关联表")]
|
||||||
|
[Table("DoctorDictionary")]
|
||||||
|
public class DoctorDictionary : Entity
|
||||||
{
|
{
|
||||||
[Table("DoctorDictionary")]
|
#region 导航属性
|
||||||
public partial class DoctorDictionary : Entity
|
[JsonIgnore]
|
||||||
{
|
[ForeignKey("DoctorId")]
|
||||||
#region µ¼º½ÊôÐÔ
|
public Doctor Doctor { get; set; }
|
||||||
[JsonIgnore]
|
|
||||||
[ForeignKey("DoctorId")]
|
|
||||||
public Doctor Doctor { get; set; }
|
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("DictionaryId")]
|
[ForeignKey("DictionaryId")]
|
||||||
public Dictionary Dictionary { get; set; }
|
public Dictionary Dictionary { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
public Guid DictionaryId { get; set; }
|
||||||
|
|
||||||
[StringLength(50)]
|
public Guid DoctorId { get; set; }
|
||||||
public string KeyName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public Guid DoctorId { get; set; }
|
[StringLength(400)]
|
||||||
|
public string KeyName { get; set; } = null!;
|
||||||
public Guid DictionaryId { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,50 +1,52 @@
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("医生计费 - 工作量记录表")]
|
||||||
|
[Table("DoctorWorkload")]
|
||||||
|
public partial class Workload :BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("DoctorWorkload")]
|
#region 导航属性
|
||||||
public partial class Workload :BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region µ¼º½ÊôÐÔ
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
[Required]
|
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
|
|
||||||
public Guid DoctorId { get; set; }
|
public int Adjudication { get; set; }
|
||||||
|
|
||||||
public int DataFrom { get; set; }
|
public int AdjudicationIn24H { get; set; }
|
||||||
|
|
||||||
public DateTime WorkTime { get; set; }
|
public int AdjudicationIn48H { get; set; }
|
||||||
|
|
||||||
public int Training { get; set; }
|
public int CreateUserType { get; set; }
|
||||||
|
|
||||||
public int Downtime { get; set; }
|
public int DataFrom { get; set; }
|
||||||
|
|
||||||
public int Timepoint { get; set; }
|
public Guid DoctorId { get; set; }
|
||||||
|
|
||||||
public int TimepointIn24H { get; set; }
|
public int Downtime { get; set; }
|
||||||
|
|
||||||
public int TimepointIn48H { get; set; }
|
public int Global { get; set; }
|
||||||
|
|
||||||
public int Adjudication { get; set; }
|
public bool IsLock { get; set; }
|
||||||
|
|
||||||
public int AdjudicationIn24H { get; set; }
|
public int RefresherTraining { get; set; }
|
||||||
|
|
||||||
public int AdjudicationIn48H { get; set; }
|
public int Timepoint { get; set; }
|
||||||
|
|
||||||
public int Global { get; set; }
|
public int TimepointIn24H { get; set; }
|
||||||
public int RefresherTraining { get; set; }
|
|
||||||
|
|
||||||
public int CreateUserType { get; set; }
|
public int TimepointIn48H { get; set; }
|
||||||
|
|
||||||
[Required]
|
public int Training { get; set; }
|
||||||
public string YearMonth { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public bool IsLock { get; set; } = false;
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
public DateTime WorkTime { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string YearMonth { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,64 +1,59 @@
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("Ò½Éú - ½ÌÓýÐÅÏ¢")]
|
||||||
|
[Table("Education")]
|
||||||
|
public class Education : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("Education")]
|
#region µ¼º½ÊôÐÔ
|
||||||
public partial class Education : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region µ¼º½ÊôÐÔ
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
public Guid DoctorId { get; set; }
|
public DateOnly? BeginDate { get; set; }
|
||||||
|
|
||||||
[Column(TypeName = "date")]
|
[StringLength(400)]
|
||||||
public DateTime? BeginDate { get; set; }
|
public string City { get; set; } = null!;
|
||||||
[Column(TypeName = "date")]
|
|
||||||
public DateTime? EndDate { get; set; }
|
|
||||||
|
|
||||||
[StringLength(50)]
|
[StringLength(400)]
|
||||||
public string Degree { get; set; } = string.Empty;
|
public string CityCN { get; set; } = null!;
|
||||||
[StringLength(100)]
|
|
||||||
public string Major { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
[StringLength(100)]
|
[StringLength(400)]
|
||||||
public string Organization { get; set; } = string.Empty;
|
public string Country { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string CountryCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(50)]
|
[StringLength(400)]
|
||||||
public string Country { get; set; } = string.Empty;
|
public string Degree { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string DegreeCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(50)]
|
public Guid DoctorId { get; set; }
|
||||||
public string Province { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
public DateOnly? EndDate { get; set; }
|
||||||
|
|
||||||
[StringLength(50)]
|
[StringLength(400)]
|
||||||
public string City { get; set; } = string.Empty;
|
public string Major { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
[StringLength(50)]
|
public string MajorCN { get; set; } = null!;
|
||||||
public string DegreeCN { get; set; } = string.Empty;
|
|
||||||
[StringLength(100)]
|
|
||||||
public string MajorCN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
[StringLength(100)]
|
[StringLength(400)]
|
||||||
public string OrganizationCN { get; set; } = string.Empty;
|
public string Organization { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string OrganizationCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(50)]
|
[StringLength(400)]
|
||||||
public string CountryCN { get; set; } = string.Empty;
|
public string Province { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string ProvinceCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(50)]
|
public int ShowOrder { get; set; }
|
||||||
public string ProvinceCN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
[StringLength(50)]
|
|
||||||
public string CityCN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public int ShowOrder { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,28 +1,29 @@
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("Ò½Éú¼Æ·Ñ - Ö§¸¶ÐÅÏ¢±í")]
|
||||||
|
[Table("DoctorPayInformation")]
|
||||||
|
public partial class ReviewerPayInformation : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("DoctorPayInformation")]
|
[DecimalPrecision(18, 2)]
|
||||||
public partial class ReviewerPayInformation : BaseFullAuditEntity
|
public decimal Additional { get; set; }
|
||||||
{
|
|
||||||
public Guid DoctorId { get; set; }
|
|
||||||
[StringLength(200)]
|
|
||||||
public string DoctorNameInBank { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
[StringLength(100)]
|
[StringLength(400)]
|
||||||
public string IDCard { get; set; } = string.Empty;
|
public string BankCardNumber { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(100)]
|
public string BankName { get; set; } = null!;
|
||||||
public string BankCardNumber { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
[StringLength(200)]
|
public Guid DoctorId { get; set; }
|
||||||
public string BankName { get; set; } = string.Empty;
|
|
||||||
public Guid RankId { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
public string DoctorNameInBank { get; set; } = null!;
|
||||||
public decimal Additional { get; set; }
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string IDCard { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid RankId { get; set; }
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue