using System.ComponentModel.DataAnnotations; using WTA.Shared.Attributes; using WTA.Shared.Domain; namespace WTA.Application.Identity.Entities.SystemManagement; [ShangWuShenHeGroup] [Display(Name = "财务管理审核")] //发票分组 public class INVOICE_GRP : BaseEntity { [Display(Name = "实际纸质发票号")] public string RealnvBillNum { get; set; } = null!; [OneToMany] [OneToMany] [Display(Name = "系统生成发票号")] public string InvbillNum { get; set; } = null!; [Display(Name = "未税金额")] public decimal Amt { get; set; } [Display(Name = "税后金额")] public decimal TaxAmt { get; set; } [OneToMany] [OneToMany] [OneToOne] [Display(Name = "发票分组号")] public string InvGroupNum { get; set; } = null!; [Display(Name = "开票Excel文件")] public string FileName { get; set; } = null!; /// /// 1-HBPO 2-BBAC(和买单件一起开票,扣减库存时要注意分开) 3-JIT 4-备件、5-印度件 /// [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!; // [Display(Name = "发票分组号")] // public string InvGroupNum { get; set; } = null!; //[ShangWuShenHeGroup] //[Display(Name = "待开票明细")] //public class INVOICE_WAIT_DETAIL : BaseEntity //{ // [Display(Name = "发票号")] // public string InvbillNum { get; set; } = null!; // [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 = "扩展字段1")] // public string Extend1 { get; set; } = null!; // [Display(Name = "扩展字段2")] // public string Extend2 { get; set; } = null!; // [Display(Name = "扩展字段3")] // public string Extend3 { get; set; } = null!; // [Display(Name = "扩展字段4")] // public string Extend4 { get; set; } = null!; // [Display(Name = "期间")] // public string Version { get; set; } = null!; // [Display(Name = "发票分组号")] // public string InvGroupNum { get; set; } = null!; // [Display(Name = "业务分类")] // public string BussiessType { get; set; } = null!; //}