using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using IRaCIS.Core.Domain.Share;

namespace IRaCIS.Core.Domain.Models
{
    /// <summary>
    /// 运维人员与项目关联关系表 - 实体
    /// </summary>
    [Table("TrialUser")]
    public partial class TrialUser : Entity, IAuditUpdate, IAuditAdd ,ISoftDelete
    {
        public Guid UserId { get; set; }
        public Guid TrialId { get; set; }
        [JsonIgnore]
        public Trial Trial { get; set; }
        [JsonIgnore]
        [ForeignKey("UserId")]
        public User User { get; set; }

        [JsonIgnore]
        public List<TrialSiteUser> SiteList { get; set; }



        public Guid UpdateUserId { get; set; }
        public DateTime UpdateTime { get; set; }
        public Guid CreateUserId { get; set; }
        public DateTime CreateTime { get; set; }

        public bool IsDeleted { get; set; }

        public DateTime? DeletedTime { get; set; }

        public Guid? DeleteUserId { get; set; }


        public DateTime? RemoveTime { get; set; }

        public DateTime? JoinTime { get; set; }

        

    }
}
