using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ShwasherSys.SemiProductStoreInfo;
using System.ComponentModel.DataAnnotations;
namespace ShwasherSys.ProductionOrderInfo.Dto
{
[AutoMapTo(typeof(SemiOutStore))]
public class CreateOutStoreApplyDto
{
[Required]
[StringLength(SemiOutStore.ProductionOrderNoMaxLength)]
public string ProductionOrderNo { get; set; }
///
/// 半成品库存中记录编号
///
[StringLength(SemiOutStore.CurrentSemiStoreHouseNoMaxLength)]
public string CurrentSemiStoreHouseNo { get; set; }
[Required]
public int StoreHouseId { get; set; }
///
/// 1.申请中 2.已出库 3.已取消
///
[Required]
[StringLength(SemiOutStore.ApplyStatusMaxLength)]
public string ApplyStatus { get; set; }
///
/// 申请出库来源(1.外协加工申请 2.包装申请)
///
[Required]
[StringLength(SemiOutStore.ApplyOutStoreSourceMaxLength)]
public string ApplyOutStoreSource { get; set; }
///
/// 半成品编号
///
[StringLength(SemiOutStore.SemiProductNoMaxLength)]
public string SemiProductNo { get; set; }
///
/// 申请入库数量
///
public decimal Quantity { get; set; }
///
/// 实际出库数量(用于填入实时库存中的数量)
///
public decimal ActualQuantity { get; set; }
///
/// 申请出库时间
///
public DateTime? ApplyOutDate { get; set; }
[StringLength(SemiOutStore.RemarkMaxLength)]
public string Remark { get; set; }
public DateTime? TimeCreated { get; set; }
public DateTime? TimeLastMod { get; set; }
[StringLength(SemiOutStore.CreatorUserIdMaxLength)]
public string CreatorUserId { get; set; }
[StringLength(SemiOutStore.UserIDLastModMaxLength)]
public string UserIDLastMod { get; set; }
}
}