first commit
This commit is contained in:
commit
f797ff3e50
228 changed files with 25555 additions and 0 deletions
27
Models/Documents/Document.cs
Normal file
27
Models/Documents/Document.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Recruit.Service.Models.Documents
|
||||
{
|
||||
public class Document
|
||||
{
|
||||
[Key]
|
||||
public Guid Id { get; set; }
|
||||
|
||||
[Required, MaxLength(255)]
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
|
||||
public int FileSize { get; set; } = 0;
|
||||
|
||||
[MaxLength(128)]
|
||||
public string FileType { get; set; } = string.Empty;
|
||||
|
||||
[Column(TypeName = "text")]
|
||||
public string Detail { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(64)]
|
||||
public string ObjectRefId { get; set; } = string.Empty;
|
||||
|
||||
public DateTime CreatedDate { get; set; } = DateTime.Now;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue