2024-03-20 02:37:36 +00:00
|
|
|
|
using Admin.NET.Core;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace Admin.NET.Application;
|
|
|
|
|
|
2024-05-31 10:13:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇报单基础输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ReportTableBaseInput
|
|
|
|
|
{
|
2024-03-20 02:37:36 +00:00
|
|
|
|
/// <summary>
|
2024-05-31 10:13:10 +00:00
|
|
|
|
/// 单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string? OddNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual DateTime? StartDate { get; set; }
|
|
|
|
|
|
2024-07-06 14:34:20 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 生产结束日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual DateTime? EndDate { get; set; }
|
|
|
|
|
|
|
|
|
|
|
2024-05-31 10:13:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual int? State { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 生产类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string? ProductType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 生产线
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string? ProductionLine { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 生产线编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string? CodeNum { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 源单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string? SourceNumber { get; set; }
|
|
|
|
|
|
2024-06-12 10:10:50 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 源单ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long? SourceId { get; set; }
|
2024-05-31 10:13:10 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long? MaterialsId { get; set; }
|
|
|
|
|
|
2024-06-26 10:33:33 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 完工数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? ProductCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 基本完工数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? BaseProductCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? Unit { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 批次
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? Batch { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? Name { get; set; }
|
2024-05-31 10:13:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string? Remarks { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual long? TenantId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual DateTime? CreateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual DateTime? UpdateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建者Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual long? CreateUserId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建者姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string? CreateUserName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 修改者Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual long? UpdateUserId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 修改者姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string? UpdateUserName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 软删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual bool IsDelete { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇报单分页查询输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ReportTableInput : BasePageInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 关键字查询
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? SearchKey { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? OddNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime? StartDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务日期范围
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<DateTime?> StartDateRange { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? State { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 生产类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? ProductType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 生产线
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? ProductionLine { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 生产线编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? CodeNum { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 源单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? SourceNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long? MaterialsId { get; set; }
|
|
|
|
|
|
2024-06-12 10:10:50 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 源单ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long? SourceId { get; set; }
|
2024-05-31 10:13:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? Remarks { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇报单增加输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class AddReportTableInput : ReportTableBaseInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 软删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "软删除不能为空")]
|
|
|
|
|
public override bool IsDelete { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇报单删除输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class DeleteReportTableInput : BaseIdInput
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇报单更新输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class UpdateReportTableInput : ReportTableBaseInput
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇报单主键查询输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class QueryByIdReportTableInput : DeleteReportTableInput
|
|
|
|
|
{
|
2024-06-12 10:10:50 +00:00
|
|
|
|
public string? Code { get; set; }
|
2024-07-02 03:23:29 +00:00
|
|
|
|
public long? SourceId { get; set; }
|
2024-05-31 10:13:10 +00:00
|
|
|
|
}
|