32 lines
923 B
C#
32 lines
923 B
C#
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;
|
|
//继承类时不加[NotMapped]排除实体类,'無效的資料行名稱 'Discriminator'。
|
|
namespace CloudBuilder.Master.Data
|
|
{
|
|
[NotMapped]
|
|
[TypeScript]
|
|
public class PublishPhotoFamilyGroupDisplayData : PublishPhotoFamilyGroupEntity
|
|
{
|
|
public PublishPhotoFamilyGroupDisplayData()
|
|
{
|
|
}
|
|
|
|
public PublishPhotoFamilyGroupDisplayData(FamilyGroupEntity entity)
|
|
{
|
|
this.FamilyLocalName = entity.FamilyLocalName;
|
|
this.FamilyName = entity.FamilyName;
|
|
this.Notice = entity.Notice;
|
|
}
|
|
|
|
public string? FamilyLocalName { get; set; }
|
|
|
|
public string? Notice { get; set; }
|
|
}
|
|
}
|