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