You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.3 KiB
47 lines
1.3 KiB
1 year ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.Threading.Tasks;
|
||
|
using Win_in.Sfs.Shared.Domain;
|
||
|
using Win_in.Sfs.Shared.Domain.Entities;
|
||
|
using Win_in.Sfs.Shared.Domain.Shared;
|
||
|
|
||
|
|
||
|
namespace Win_in.Sfs.Basedata.Domain;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Kitting箱
|
||
|
/// </summary>
|
||
|
[Serializable]
|
||
|
[Display(Name = "Kitting箱")]
|
||
|
public class Kitting : SfsBaseDataAggregateRootBase, IHasCode
|
||
|
{
|
||
|
public string Code { get ; set ; }
|
||
|
public string Name { get ; set ; }
|
||
|
public virtual ICollection<KittingDetail> Details { get; set; } = new List<KittingDetail>();
|
||
|
public void SetId(Guid id)
|
||
|
{
|
||
|
this.Id = id;
|
||
|
}
|
||
|
|
||
|
|
||
|
///// <summary>
|
||
|
///// 设置任务明细的实际库位和实际数量
|
||
|
///// </summary>
|
||
|
///// <param name="id"></param>
|
||
|
///// <param name="locationCode"></param>
|
||
|
///// <param name="qty"></param>
|
||
|
///// <returns></returns>
|
||
|
//public virtual async Task SetDetail(Guid id, string partCode, string desc1, string desc2, decimal qty, string conf)
|
||
|
//{
|
||
|
// var detail = GetDetail(id);
|
||
|
// detail.PartCode = partCode;
|
||
|
// detail.Desc1 = desc1;
|
||
|
// detail.Desc2 = desc2;
|
||
|
// detail.Qty = qty;
|
||
|
// detail.Conf = conf;
|
||
|
|
||
|
// await Task.CompletedTask.ConfigureAwait(false);
|
||
|
//}
|
||
|
}
|