22 lines
685 B
C#
22 lines
685 B
C#
using Hncore.Infrastructure.DDD;
|
|
using Hncore.Infrastructure.Extension;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Hncore.Pass.OSS.Domain
|
|
{
|
|
public partial class Asset : EntityWithDelete<int>, ITenant
|
|
{
|
|
public int TenantId { get; set; }
|
|
public int? GroupId { get; set; }
|
|
public string Name { get; set; }
|
|
public int AssetType { get; set; }
|
|
public string Image { get; set; }
|
|
public string BaseUrl { get; set; }
|
|
public string Path { get; set; }
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
public string Url { get => BaseUrl.Has() ? $"{BaseUrl}/{Path}" : Path; }
|
|
}
|
|
}
|