Files
IOT_API/Model/Dto/Asset/EquipmentCategoryDto.cs
T

36 lines
1.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace Model.Dto.Asset
{
/// <summary>
/// 设备分类 DTOId 由 long 改为 string,避免前端精度丢失)
/// </summary>
public class EquipmentCategoryDto
{
/// <summary>主键 Idlong → string</summary>
public string Id { get; set; }
/// <summary>删除状态(0、未删除;1、已删除)</summary>
public byte IsDel { get; set; }
/// <summary>创建时间</summary>
public DateTime? CreateTime { get; set; }
/// <summary>父级分类Id0表示顶级)</summary>
public long ParentId { get; set; }
/// <summary>分类名称</summary>
public string? Name { get; set; }
/// <summary>分类编码</summary>
public string? Code { get; set; }
/// <summary>层级(1级、2级……)</summary>
public int Level { get; set; }
/// <summary>排序号</summary>
public int Sort { get; set; }
/// <summary>备注</summary>
public string? Remark { get; set; }
}
}