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.
100 lines
2.4 KiB
100 lines
2.4 KiB
2 years ago
|
using System.ComponentModel.DataAnnotations;
|
||
|
using WTA.Shared.Attributes;
|
||
|
using WTA.Shared.Domain;
|
||
|
|
||
|
namespace WTA.Application.Identity.Entities.SystemManagement;
|
||
|
|
||
|
[Order(1)]
|
||
|
[JITDataInput]
|
||
|
[Display(Name = "JIT件结算导入")]
|
||
|
public class JIT_SA : BaseEntity
|
||
|
{
|
||
|
[Display(Name = "期间")]
|
||
|
public string Version { get; set; } = null!;
|
||
|
|
||
|
[Display(Name = "结算单据")]
|
||
|
[OneToMany<JIT_SA_DETAIL>]
|
||
|
public string BillNum { get; set; } = null!;
|
||
|
|
||
|
[Display(Name = "出库单号")]
|
||
|
public string DNBillNum { get; set; } = null!;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 1、新建 2、已有出库3、已有扣减寄售库
|
||
|
/// </summary>
|
||
|
[Display(Name = "状态")]
|
||
|
public string State { get; set; } = null!;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 明细记录行数
|
||
|
/// </summary>
|
||
|
[Display(Name = "明细记录行数")]
|
||
|
public string RecordCount { get; set; } = null!;
|
||
|
|
||
|
}
|
||
|
|
||
|
[Display(Name = "JIT结算导入明细")]
|
||
|
[JITDataInput]
|
||
|
public class JIT_SA_DETAIL : BaseEntity
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 对应字段(Material+External Delivery ID)
|
||
|
/// </summary>
|
||
|
[Display(Name = "LU+ASN单号")]
|
||
|
public string KeyCode { get; set; } = null!;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 版本号
|
||
|
/// </summary>
|
||
|
[Display(Name = "期间")]
|
||
|
public string Version { get; set; } = null!;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 结算单号
|
||
|
/// </summary>
|
||
|
[Display(Name = "结算单号")]
|
||
|
public string BillNum { get; set; } = null!;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 取值字段Material
|
||
|
/// </summary>
|
||
|
[Display(Name = "零件号")]
|
||
|
public string LU { get; set; } = null!;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 取值字段External Delivery ID
|
||
|
/// </summary>
|
||
|
[Display(Name = "发货单号")]
|
||
|
public string PN { get; set; } = null!;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 无
|
||
|
/// </summary>
|
||
|
[Display(Name = "工厂地点")]
|
||
|
public string Site { get; set; } = null!;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 对应字段Quantity
|
||
|
/// </summary>
|
||
|
[Display(Name = "结算数量")]
|
||
|
public decimal Qty { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 匹配价格表对应区间带出
|
||
|
/// </summary>
|
||
|
[Display(Name = "单价")]
|
||
|
public decimal Price { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 对应字段Pstng Date
|
||
|
/// </summary>
|
||
|
[Display(Name = "结算日期(收货日期)")]
|
||
|
public DateTime SettleDate { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 对应字段Delivery
|
||
|
/// </summary>
|
||
|
[Display(Name = "结算分组")]
|
||
|
public string GroupNum { get; set; } = null!;
|
||
|
}
|