45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
using System.ComponentModel.DataAnnotations;
|
||
|
||
namespace ZR.Model.Dto
|
||
{
|
||
/// <summary>
|
||
/// MES成品入库单操作日志表查询对象
|
||
/// </summary>
|
||
public class ProFinishedProductReceiptLogQueryDto : PagerInfo
|
||
{
|
||
public DateTime? StartTime { get; set; }
|
||
|
||
public DateTime? EndTime { get; set; }
|
||
}
|
||
|
||
/// <summary>
|
||
/// MES成品入库单操作日志表输入输出对象
|
||
/// </summary>
|
||
public class ProFinishedProductReceiptLogDto
|
||
{
|
||
[Required(ErrorMessage = "自增主键不能为空")]
|
||
[JsonConverter(typeof(ValueToStringConverter))]
|
||
public long Id { get; set; }
|
||
|
||
[Required(ErrorMessage = "关联入库单号不能为空")]
|
||
public string ReceiptNo { get; set; }
|
||
|
||
[Required(ErrorMessage = "操作人(用户ID)不能为空")]
|
||
public string OperatedBy { get; set; }
|
||
|
||
[Required(ErrorMessage = "操作时间不能为空")]
|
||
public DateTime? OperatedTime { get; set; }
|
||
|
||
[Required(ErrorMessage = "操作类型:CREATE-创建;UPDATE-修改;APPROVE-审核;CANCEL-取消;PRINT_LABEL-打印标签;OTHER-其他不能为空")]
|
||
public string OperationType { get; set; }
|
||
|
||
public string OperationContent { get; set; }
|
||
|
||
public string OperationResult { get; set; }
|
||
|
||
public string Remark { get; set; }
|
||
|
||
|
||
|
||
}
|
||
} |