54 lines
1.7 KiB
C#
54 lines
1.7 KiB
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;
|
||
|
||
namespace CloudBuilder.Master.Data
|
||
{
|
||
/// <summary>
|
||
/// 排除实体类标记
|
||
/// </summary>
|
||
[NotMapped]
|
||
[TypeScript]
|
||
public class FamilyPersonDisplayData : FamilyPersonEntity
|
||
{
|
||
public FamilyPersonDisplayData()
|
||
{
|
||
}
|
||
public FamilyPersonDisplayData(FamilyPersonEntity entity)
|
||
{
|
||
CopyFrom(entity);
|
||
}
|
||
|
||
public string? AvatarUrl { get; set; }
|
||
|
||
public bool? IsCanAmend { get; set; } = false;
|
||
|
||
// ===== 身份证 OCR 识别信息(transient 显示字段:识别后回填表单,随保存提交但不落 family_person 表) =====
|
||
/// <summary>民族(OCR nation)</summary>
|
||
public string? Nation { get; set; }
|
||
|
||
/// <summary>住址(OCR address)</summary>
|
||
public string? Address { get; set; }
|
||
|
||
/// <summary>公民身份号码(OCR id_number)</summary>
|
||
public string? IdNumber { get; set; }
|
||
|
||
/// <summary>签发机关(OCR issuer,仅背面)</summary>
|
||
public string? Issuer { get; set; }
|
||
|
||
/// <summary>有效期限(OCR validity,仅背面)</summary>
|
||
public string? Validity { get; set; }
|
||
|
||
/// <summary>身份证照片物理文件名(上传到 idcard 目录后回写,与头像 AvatarFilename 同口径)</summary>
|
||
public string? IdCardFilename { get; set; }
|
||
|
||
/// <summary>身份证照片预览 URL(本地临时预览,不入库)</summary>
|
||
public string? IdCardUrl { get; set; }
|
||
}
|
||
}
|