TemplatePro/BZPT.DTO/VO/OrgTreeItem.cs

38 lines
1.1 KiB
C#
Raw Normal View History

2025-03-02 23:30:03 +08:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace BZPT.Dto.VO {
public class OrgTreeItem : TreeItem {
/// 机构组织类型(DICT)
/// </summary>
[Display(Name = "机构组织类型(DICT)")]
[StringLength(300)]
[DataMember(Name = "organizationType")]
public string organizationType { get; set; }
/// <summary>
/// 第一负责人
/// </summary>
[Display(Name = "第一负责人")]
[StringLength(1500)]
[DataMember(Name = "principal")]
public string principal { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[DisplayFormat(DataFormatString = "YYYY/MM/dd HH:mm:ss")]
[DataMember(Name = "createTime")]
public new DateTime createTime { get; set; }
public new OrgTreeItem[] children { get; set; }
}
}