| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- namespace Admin.NET.Plugin.AiDOP.Order;
- /// <summary>
- /// 閿€鍞鍗曟槑缁嗚〃锛坈rm_seorderentry锛?/// </summary>
- [SugarTable("crm_seorderentry", "閿€鍞鍗曟槑缁嗚〃")]
- public class SeOrderEntry
- {
- [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = false)]
- public long Id { get; set; }
- [SugarColumn(ColumnName = "seorder_id")]
- public long SeOrderId { get; set; }
- [SugarColumn(ColumnName = "bill_no", Length = 64)]
- public string? BillNo { get; set; }
- [SugarColumn(ColumnName = "entry_seq")]
- public int? EntrySeq { get; set; }
- [SugarColumn(ColumnName = "map_number", Length = 255)]
- public string? MapNumber { get; set; }
- [SugarColumn(ColumnName = "map_name", Length = 255)]
- public string? MapName { get; set; }
- [SugarColumn(ColumnName = "item_number", Length = 64)]
- public string? ItemNumber { get; set; }
- [SugarColumn(ColumnName = "fms_number", Length = 255)]
- public string? FmsNumber { get; set; }
- [SugarColumn(ColumnName = "item_name", Length = 128)]
- public string? ItemName { get; set; }
- [SugarColumn(ColumnName = "specification", Length = 256)]
- public string? Specification { get; set; }
- [SugarColumn(ColumnName = "urgent")]
- public int? Urgent { get; set; }
- [SugarColumn(ColumnName = "bom_number", Length = 255)]
- public string? BomNumber { get; set; }
- [SugarColumn(ColumnName = "unit", Length = 32)]
- public string? Unit { get; set; }
- [SugarColumn(ColumnName = "qty")]
- public decimal? Qty { get; set; }
- [SugarColumn(ColumnName = "price")]
- public decimal? Price { get; set; }
- [SugarColumn(ColumnName = "tax_price")]
- public decimal? TaxPrice { get; set; }
- [SugarColumn(ColumnName = "amount")]
- public decimal? Amount { get; set; }
- [SugarColumn(ColumnName = "tax_rate")]
- public decimal? TaxRate { get; set; }
- [SugarColumn(ColumnName = "discount_rate")]
- public decimal? DiscountRate { get; set; }
- [SugarColumn(ColumnName = "discount_amount")]
- public decimal? DiscountAmount { get; set; }
- [SugarColumn(ColumnName = "aux_price_discount")]
- public decimal? AuxPriceDiscount { get; set; }
- [SugarColumn(ColumnName = "tax_amtount")]
- public decimal? TaxAmtount { get; set; }
- [SugarColumn(ColumnName = "total_amount")]
- public decimal? TotalAmount { get; set; }
- /// <summary>瀹㈡埛瑕佹眰浜ゆ湡</summary>
- [SugarColumn(ColumnName = "plan_date")]
- public DateTime? PlanDate { get; set; }
- /// <summary>鏈€缁堜氦璐ф棩鏈?/summary>
- [SugarColumn(ColumnName = "date")]
- public DateTime? Date { get; set; }
- /// <summary>绯荤粺寤鸿浜ゆ湡锛堜骇鑳斤級</summary>
- [SugarColumn(ColumnName = "sys_capacity_date")]
- public DateTime? SysCapacityDate { get; set; }
- [SugarColumn(ColumnName = "planner_name", Length = 50)]
- public string? PlannerName { get; set; }
- [SugarColumn(ColumnName = "planner_no", Length = 50)]
- public string? PlannerNo { get; set; }
- [SugarColumn(ColumnName = "remark", Length = 512)]
- public string? Remark { get; set; }
- [SugarColumn(ColumnName = "adjust_date")]
- public DateTime? AdjustDate { get; set; }
- [SugarColumn(ColumnName = "mrp_closed")]
- public bool? MrpClosed { get; set; }
- [SugarColumn(ColumnName = "op_time")]
- public DateTime? OpTime { get; set; }
- [SugarColumn(ColumnName = "custom_order_itemno", Length = 80)]
- public string? CustomOrderItemno { get; set; }
- [SugarColumn(ColumnName = "state")]
- public bool? State { get; set; }
- [SugarColumn(ColumnName = "rstate")]
- public int? RState { get; set; }
- [SugarColumn(ColumnName = "soure_bill_no", Length = 50)]
- public string? SoureBillNo { get; set; }
- [SugarColumn(ColumnName = "custom_order_bill_no", Length = 50)]
- public string? CustomOrderBillNo { get; set; }
- [SugarColumn(ColumnName = "custom_order_entryid")]
- public int? CustomOrderEntryId { get; set; }
- /// <summary>0=再评审 1=新建 2=评审 3=确认</summary>
- [SugarColumn(ColumnName = "progress")]
- public string? Progress { get; set; } = "1";
- [SugarColumn(ColumnName = "deliver_notice_count")]
- public decimal? DeliverNoticeCount { get; set; }
- [SugarColumn(ColumnName = "deliver_count")]
- public decimal? DeliverCount { get; set; }
- [SugarColumn(ColumnName = "se_reject_reason", Length = 80)]
- public string? SeRejectReason { get; set; }
- [SugarColumn(ColumnName = "out_stock_type", Length = 50)]
- public string? OutStockType { get; set; }
- [SugarColumn(ColumnName = "is_checked")]
- public bool? IsChecked { get; set; }
- [SugarColumn(ColumnName = "sys_material_date")]
- public DateTime? SysMaterialDate { get; set; }
- [SugarColumn(ColumnName = "contract_no", Length = 50)]
- public string? ContractNo { get; set; }
- [SugarColumn(ColumnName = "create_dept")]
- public long? CreateDept { get; set; }
- [SugarColumn(ColumnName = "create_by")]
- public long? CreateBy { get; set; }
- [SugarColumn(ColumnName = "create_by_name", Length = 50)]
- public string? CreateByName { get; set; }
- [SugarColumn(ColumnName = "company_id")]
- public long? CompanyId { get; set; }
- [SugarColumn(ColumnName = "IsDeleted")]
- public int IsDeleted { get; set; } = 0;
- [SugarColumn(ColumnName = "create_time")]
- public DateTime? CreateTime { get; set; }
- [SugarColumn(ColumnName = "update_by")]
- public long? UpdateBy { get; set; }
- [SugarColumn(ColumnName = "update_by_name", Length = 50)]
- public string? UpdateByName { get; set; }
- [SugarColumn(ColumnName = "update_time")]
- public DateTime? UpdateTime { get; set; }
- [SugarColumn(ColumnName = "factory_id")]
- public long? FactoryId { get; set; }
- [SugarColumn(ColumnName = "org_id")]
- public long? OrgId { get; set; }
- [SugarColumn(ColumnName = "rnumber")]
- public int? RNumber { get; set; }
- [SugarColumn(ColumnName = "seorderentry_id")]
- public long? SeOrderEntryId { get; set; }
- /// <summary>绉熸埛ID锛堝绉熸埛闅旂锛?/summary>
- [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
- public long? TenantId { get; set; }
- }
|