using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Text; using WMS.Web.Core; namespace WMS.Web.Domain.Entitys { /// /// erp入库任务单的对应box箱信息表 /// 比例是:1:N ,一个任务单对应多个box箱号 /// [Serializable] [Table("t_erp_instock_task_box")] public class InStockTaskBox : EntityBase { /// /// Id /// public override int Id { get; set; } /// /// 入库任务单ID /// public int TaskId { get; set; } /// /// 箱号ID /// public int BoxId { get; set; } /// /// 箱号 /// public string BoxBillNo { get; set; } /// /// 收货时间 /// public DateTime? CreateTime { get; set; } = DateTime.Now; /// /// 收货人 /// public int? ReceiverId { get; set; } /// /// 明细 /// public List Details { get; set; } = new List(); /// /// 收货 /// /// public void Receiver(int staffId) { this.ReceiverId = staffId; this.CreateTime = DateTime.Now; } } }