article
This commit is contained in:
1 parent
c6eb00b406
commit
1c91f62ff6
58 files changed
+3888
-69
No files matched your search
@@ -0,0 +1,32 @@
|
||||
using CloudBuilder.Core.Authorization;
|
||||
using CloudBuilder.Master.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CloudBuilder.Master.Data
|
||||
{
|
||||
/// <summary>
|
||||
/// 文章配图明细展示数据:在实体(FileName 存物理名)基础上补一个打包后的访问地址,
|
||||
/// 供前端图片 Tab 直接渲染;提交时仍回传物理名 FileName,ImageUrl 只读。
|
||||
/// </summary>
|
||||
[NotMapped]
|
||||
[TypeScript]
|
||||
public class ArticleFilenameDisplayData : ArticleFilenameEntity
|
||||
{
|
||||
public ArticleFilenameDisplayData()
|
||||
{
|
||||
}
|
||||
|
||||
public ArticleFilenameDisplayData(ArticleFilenameEntity entity)
|
||||
{
|
||||
CopyFrom(entity);
|
||||
}
|
||||
|
||||
/// <summary>配图访问地址(由 FileName 物理名打包,未设置为空)</summary>
|
||||
public string? ImageUrl { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user