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.
171 lines
4.1 KiB
171 lines
4.1 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Win.Sfs.Shared.DomainBase;
|
|
|
|
namespace Win.Sfs.SettleAccount.Entities.VWKanBan
|
|
{
|
|
|
|
|
|
/* 看板条码号
|
|
* 入库关联号
|
|
* 工厂
|
|
* 零件号
|
|
* 零件类型
|
|
* 供应商
|
|
* R3入库日期
|
|
* 批次
|
|
* 入库结算标识
|
|
* 第一文本年
|
|
* 第一步文本号
|
|
* 第二步文本年
|
|
* 第二步文本号
|
|
* R3结算时间
|
|
* 数量
|
|
* 结算状态
|
|
*/
|
|
/// <summary>
|
|
/// 大众看板
|
|
/// </summary>
|
|
public class KanBanSettle : FullAuditedAggregateRootBase<Guid>, ISettleAccountEntityBase
|
|
{
|
|
/// <summary>
|
|
///年度
|
|
/// </summary>
|
|
public string Year { get; protected set; }
|
|
|
|
/// <summary>
|
|
/// 期间
|
|
/// </summary>
|
|
public string Period { set; get; }
|
|
|
|
/// <summary>
|
|
/// 版本
|
|
/// </summary>
|
|
public string Version { set; get; }
|
|
/// <summary>
|
|
/// 看板条码号
|
|
/// </summary>
|
|
public string Kanban { set; get; }
|
|
|
|
/// <summary>
|
|
/// 入库关联号
|
|
/// </summary>
|
|
|
|
public string Relation { set; get; }
|
|
/// <summary>
|
|
/// 工厂
|
|
/// </summary>
|
|
public string Factory { set; get; }
|
|
/// <summary>
|
|
/// 零件号
|
|
/// </summary>
|
|
public string MaterialCode { set; get; }
|
|
/// <summary>
|
|
/// 零件类型
|
|
/// </summary>
|
|
public string PartType { set; get; }
|
|
/// <summary>
|
|
/// 供应商编码
|
|
/// </summary>
|
|
public string SupplierCode { set; get; }
|
|
/// <summary>
|
|
/// R3入库时间
|
|
/// </summary>
|
|
public DateTime SettleInputDate { set; get; }
|
|
|
|
|
|
/// <summary>
|
|
/// 批次
|
|
/// </summary>
|
|
public string Batch { set; get; }
|
|
|
|
|
|
/// <summary>
|
|
/// 入库结算标识
|
|
/// </summary>
|
|
public string Flag { set; get; }
|
|
/// <summary>
|
|
/// 数量
|
|
/// </summary>
|
|
public decimal Qty { set; get; }
|
|
|
|
|
|
/// <summary>
|
|
/// R3结算时间
|
|
/// </summary>
|
|
public DateTime SettleDate { set; get; }
|
|
/// <summary>
|
|
/// 结算状态
|
|
/// </summary>
|
|
public string State { set; get; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[Display(Name = "备注")]
|
|
public string Extend { set; get; }
|
|
|
|
public Guid ParentId { get; protected set; }
|
|
|
|
public void SetValue(Guid guid, Guid branchId, string year, string peroid, string version, Guid parentId)
|
|
{
|
|
Period = peroid;
|
|
Year = year;
|
|
Id = guid;
|
|
Version = version;
|
|
BranchId = branchId;
|
|
ParentId = parentId;
|
|
}
|
|
public KanBanSettle()
|
|
{ }
|
|
public KanBanSettle(
|
|
Guid id,
|
|
Guid branchId,
|
|
string year,
|
|
string version,
|
|
string kanban,
|
|
string relation,
|
|
string factory,
|
|
string materialCode,
|
|
string partType,
|
|
DateTime settleInputDate,
|
|
string supplierCode,
|
|
decimal qty,
|
|
string batch,
|
|
string flag,
|
|
DateTime settleDate,
|
|
string state,
|
|
Guid parentId,
|
|
//DateTime creationTime,
|
|
Guid guid) : base(id)
|
|
{
|
|
BranchId = branchId;
|
|
Year = year;
|
|
Version = version;
|
|
Kanban = kanban;
|
|
Relation = relation;
|
|
Factory = factory;
|
|
MaterialCode = materialCode;
|
|
PartType = partType;
|
|
SettleInputDate = settleInputDate;
|
|
SupplierCode = supplierCode;
|
|
Qty = qty;
|
|
Batch = batch;
|
|
Flag = flag;
|
|
SettleDate = settleDate;
|
|
State = state;
|
|
ParentId = parentId;
|
|
//CreationTime = creationTime;
|
|
CreatorId = guid;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|