add table and class for gentree
This commit is contained in:
parent
ccebc7773f
commit
eb960ce533
8 changed files with 16951 additions and 1 deletions
40
BMA.EHR.Application/Responses/Organizations/t1.cs
Normal file
40
BMA.EHR.Application/Responses/Organizations/t1.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BMA.EHR.Application.Responses.Organizations
|
||||
{
|
||||
public class t1
|
||||
{
|
||||
public Guid? personID { get; set; }
|
||||
public string? name { get; set; }
|
||||
public string? positionName { get; set; }
|
||||
public string? positionNum { get; set; }
|
||||
public string? departmentName { get; set; }
|
||||
public string? avatar { get; set; }
|
||||
public string? nodeType { get; set; }
|
||||
public Guid? parentId { get; set; }
|
||||
public Guid? organizationId { get; set; }
|
||||
public Guid? id { get; set; }
|
||||
|
||||
public int? positionNumInt
|
||||
{
|
||||
get
|
||||
{
|
||||
try
|
||||
{
|
||||
if (positionNum.Contains("."))
|
||||
{
|
||||
var i = positionNum.Split(".")[1];
|
||||
return Convert.ToInt16(i);
|
||||
}
|
||||
}
|
||||
catch (Exception ex) { }
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue