You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
namespace NPin.Framework.Upms.Domain.Shared.Dtos;
|
|
|
|
|
|
|
|
|
|
public class OrganizationDto
|
|
|
|
|
{
|
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
public string Code { get; set; } = string.Empty;
|
|
|
|
|
public string? Remark { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 负责人ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Guid LeaderId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 负责人名称,仅用户展示,不存储
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Leader { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 父节点 ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Guid ParentId { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool IsDeleted { get; }
|
|
|
|
|
public DateTime CreationTime { get; } = DateTime.Now;
|
|
|
|
|
public Guid? CreatorId { get; }
|
|
|
|
|
public DateTime? LastModificationTime { get; }
|
|
|
|
|
public Guid? LastModifierId { get; }
|
|
|
|
|
public int OrderNum { get; set; }
|
|
|
|
|
public bool IsEnabled { get; set; }
|
|
|
|
|
}
|