2024-05-21 15:53:40 +00:00
|
|
|
|
namespace langguanApi.Model
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Organized 有组织
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class Organized : BaseModel
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2024-05-25 16:58:35 +00:00
|
|
|
|
/// 工序名称
|
2024-05-21 15:53:40 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 1,有组织;2,无组织
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int OrganizedType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 排序 大在前,小在后
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Order { get; set; }
|
|
|
|
|
|
}
|
2024-05-25 16:58:35 +00:00
|
|
|
|
public class OrganizedDto
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 1,有组织;2,无组织
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int OrganizedType { get; set; } = 1;
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 排序 大在前,小在后
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Order { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
public class OrganizedUpdateDto : OrganizedDto
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工序id
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
public class OrganizedByDeviceDto: Organized
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设备列表
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public List<Device>Items { get; set; }
|
|
|
|
|
|
}
|
2024-05-21 15:53:40 +00:00
|
|
|
|
}
|