using System;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using ShwasherSys.ProductStoreInfo;
namespace ShwasherSys.FinshedStoreInfo.Dto
{
///
/// 成品仓库维护
///
[AutoMapTo(typeof(FinshedEnterStore))]
public class FinshedEnterStoreCreateDto
{
[Required]
[StringLength(FinshedEnterStore.ProductionOrderNoMaxLength)]
public string ProductionOrderNo { get; set; }
[Required]
[StringLength(FinshedEnterStore.PackageApplyNoMaxLength)]
public string PackageApplyNo { get; set; }
///
/// 半成品编号
///
[StringLength(FinshedEnterStore.SemiProductNoMaxLength)]
public string SemiProductNo { get; set; }
///
/// 半成品编号
///
[StringLength(FinshedEnterStore.ProductNoMaxLength)]
public string ProductNo { get; set; }
[Required]
public int StoreHouseId { get; set; }
[StringLength(FinshedEnterStore.StoreLocationNoMaxLength)]
public string StoreLocationNo { get; set; }
///
/// 申请状态
///
[Required]
public int ApplyStatus { get; set; }
///
/// 是否已关闭
///
public bool IsClose { get; set; }
///
/// 申请来源(1.车间包装 )
///
[Required]
public int ApplySource { get; set; }
///
/// 申请入库数量(千斤)
///
public decimal Quantity { get; set; }
///
/// 包装规格
///
public decimal PackageSpecification { get; set; }
///
/// 申请入库包数
///
public decimal PackageCount { get; set; }
///
/// 实际入库包数
///
public decimal ActualPackageCount { get; set; }
///
/// 审核人员
///
public string AuditUser { get; set; }
///
/// 审核时间
///
public DateTime? AuditDate { get; set; }
///
/// 申请入库时间
///
public DateTime? ApplyEnterDate { get; set; }
[StringLength(FinshedEnterStore.RemarkMaxLength)]
public string Remark { get; set; }
public DateTime? TimeCreated { get; set; }
public DateTime? TimeLastMod { get; set; }
[StringLength(FinshedEnterStore.CreatorUserIdMaxLength)]
public string CreatorUserId { get; set; }
[StringLength(FinshedEnterStore.UserIDLastModMaxLength)]
public string UserIDLastMod { get; set; }
}
}