namespace YBEE.EQM.Application;

public abstract class DEntityOutput : DEntityOutput<int>
{

}

public abstract class DEntityOutput<TKey>
{
    /// <summary>
    /// 主键
    /// </summary>
    [Required]
    public virtual TKey Id { get; set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    [Required]
    public virtual DateTime CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// </summary>
    public virtual DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 创建人ID
    /// </summary>
    [Required]
    public virtual int CreateSysUserId { get; set; }
    /// <summary>
    /// 修改者Id
    /// </summary>
    public virtual int? UpdateSysUserId { get; set; }
    /// <summary>
    ///创建人
    /// </summary>
    [Required]
    public virtual SysUserLiteOutput CreateSysUser { get; set; }
    /// <summary>
    /// 修改人
    /// </summary>
    public virtual SysUserLiteOutput UpdateSysUser { get; set; }
}