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.
57 lines
1.6 KiB
57 lines
1.6 KiB
using System.ComponentModel.DataAnnotations;
|
|
using WTA.Shared.Attributes;
|
|
using WTA.Shared.Domain;
|
|
|
|
namespace WTA.Application.Identity.Entities.SystemManagement;
|
|
|
|
[Order(1)]
|
|
[ShangWuShenHeGroup]
|
|
[Display(Name = "财务管理审核主表")]
|
|
public class INVOICE : BaseEntity
|
|
{
|
|
[Display(Name = "实际纸质发票号")]
|
|
public string RealnvBillNum { get; set; } = null!;
|
|
|
|
[Display(Name = "系统生成发票号")]
|
|
[OneToMany<INVOICE_DETAIL>]
|
|
public string InvbillNum { get; set; } = null!;
|
|
|
|
[Display(Name = "未税金额")]
|
|
public decimal Amt { get; set; }
|
|
|
|
[Display(Name = "税后金额")]
|
|
public decimal TaxAmt { get; set; }
|
|
|
|
[Display(Name = "发票分组号")]
|
|
public string INVGroupNum { get; set; } = null!;
|
|
|
|
[Display(Name = "开票Excel文件")]
|
|
public string FileName { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
/// 1-HBPO 2-BBAC(和买单件一起开票,扣减库存时要注意分开) 3-JIT 4-备件、5-印度件
|
|
/// </summary>
|
|
[Display(Name = "业务类别")]
|
|
public string BusinessType { get; set; } = null!;
|
|
|
|
}
|
|
|
|
[ShangWuShenHeGroup]
|
|
[Hidden]
|
|
[Display(Name = "财务管理审核明细")]
|
|
public class INVOICE_DETAIL : BaseEntity
|
|
{
|
|
[Display(Name = "零件号")]
|
|
public string LU { get; set; } = null!;
|
|
|
|
[Display(Name = "单价")]
|
|
public decimal PRICE { get; set; }
|
|
|
|
[Display(Name = "数量")]
|
|
public decimal Qty { get; set; }
|
|
|
|
[Display(Name = "金额")]
|
|
public decimal Amt { get; set; }
|
|
[Display(Name = "系统生成发票号")]
|
|
public string InvbillNum { get; set; } = null!;
|
|
}
|
|
|