
//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2022-01-14 15:04:22 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
    ///<summary>
    ///SystemDocConfirmedUser
    ///</summary>
    [Table("SystemDocConfirmedUser")]
    public class SystemDocConfirmedUser : Entity, IAuditAdd,ISoftDelete

     {
        [JsonIgnore]
        public SystemDocument SystemDocument { get; set; }

        [JsonIgnore]
        [ForeignKey("ConfirmUserId")]
        public User User { get; set; }

        /// <summary>
        /// TrialDocumentId
        /// </summary>
        [Required]
        public Guid SystemDocumentId { get; set; }

        /// <summary>
        /// ConfirmTime
        /// </summary>
        public DateTime? ConfirmTime { get; set; }

        /// <summary>
        /// ConfirmUserId
        /// </summary>
        [Required]
        public Guid ConfirmUserId { get; set; }

        /// <summary>
        /// SignFirstViewTime
        /// </summary>
        public DateTime? SignFirstViewTime { get; set; }

        public string SignText { get; set; } = string.Empty;

        public Guid CreateUserId { get; set; }

        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 是否废除
        /// </summary>
        public bool IsDeleted { get; set; }

        public DateTime? DeletedTime { get; set; }

        public Guid? DeleteUserId { get; set; }


    }

}
