DigitalFactory/Admin.NET/Admin.NET.Application/Service/SysUnit/Dto/SysUnitOutput.cs

121 lines
2.3 KiB
C#

namespace Admin.NET.Application;
/// <summary>
/// 单位输出参数
/// </summary>
public class SysUnitOutput
{
/// <summary>
/// 主键Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// 租户Id
/// </summary>
public long? TenantId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? CreateTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdateTime { get; set; }
/// <summary>
/// 创建者Id
/// </summary>
public long? CreateUserId { get; set; }
/// <summary>
/// 创建者姓名
/// </summary>
public string? CreateUserName { get; set; }
/// <summary>
/// 修改者Id
/// </summary>
public long? UpdateUserId { get; set; }
/// <summary>
/// 修改者姓名
/// </summary>
public string? UpdateUserName { get; set; }
/// <summary>
/// 创建者部门Id
/// </summary>
public long? CreateOrgId { get; set; }
/// <summary>
/// 创建者部门名称
/// </summary>
public string? CreateOrgName { get; set; }
/// <summary>
/// 软删除
/// </summary>
public bool IsDelete { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 编码
/// </summary>
public string CodeNum { get; set; }
/// <summary>
/// 是否启用
/// </summary>
public bool IsEnable { get; set; }
/// <summary>
/// 代码
/// </summary>
public string? Code { get; set; }
/// <summary>
/// 换算率
/// </summary>
public int? Rate { get; set; }
/// <summary>
/// 作为基本单位
/// </summary>
public bool? IsBaseUnit { get; set; }
/// <summary>
/// 精度
/// </summary>
public int? Accuracy { get; set; }
/// <summary>
/// 外部编码
/// </summary>
public string? ExternalNumber { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remarks { get; set; }
/// <summary>
/// 单位组ID
/// </summary>
public long? GroupUnitId { get; set; }
/// <summary>
/// 子单位数量
/// </summary>
public int ChildUnitCount { get; set; }
}