using Business.EntityFrameworkCore;
using Business.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.AuditLogging;
using Volo.Abp.Specifications;
namespace Bussiness.Model.Tech
{
///
///销售订单明细表
///
public class wms_seorderentry : BaseEntity
{
///
/// 销售订单明细表id
///
[Key]
public long seorderentry_id { get; set; }
///
/// 销售订单id
///
public long seorder_id { get; set; }
///
/// 销售订单编号
///
[StringLength(50)]
public long bill_no { get; set; }
///
/// 行号
///
public int entry_seq { get; set; }
///
/// 对应代码
///
[StringLength(255)]
public string map_number { get; set; }
///
/// 代码名称
///
[StringLength(255)]
public string map_name { get; set; }
///
/// 产品代码
///
[StringLength(255)]
public string item_number { get; set; }
///
/// FMS旧料号
///
[StringLength(255)]
public string fms_number { get; set; }
///
/// 产品名称
///
[StringLength(255)]
public int item_name { get; set; }
///
/// 规格型号
///
[StringLength(255)]
public int specification { get; set; }
///
/// 加急级别
///
public int urgent { get; set; }
///
/// BOM编号
///
[StringLength(255)]
public string bom_number { get; set; }
///
/// 单位
///
[StringLength(50)]
public string unit { get; set; }
///
/// 订单数量
///
[DecimalPrecision(20,8)]
public decimal qty { get; set; }
///
/// 单价
///
[DecimalPrecision(20, 8)]
public decimal price { get; set; }
///
/// 含税单价
///
[DecimalPrecision(20, 8)]
public decimal tax_price { get; set; }
///
/// 金额
///
[DecimalPrecision(20, 8)]
public decimal amount { get; set; }
///
/// 税率
///
[DecimalPrecision(20, 8)]
public decimal tax_rate { get; set; }
///
/// 折扣率
///
[DecimalPrecision(20, 8)]
public decimal discount_rate { get; set; }
///
/// 折扣额
///
[DecimalPrecision(20, 8)]
public decimal discount_amount { get; set; }
///
/// 实际含税单价
///
[DecimalPrecision(20, 8)]
public decimal aux_price_discount { get; set; }
///
/// 销项税额
///
[DecimalPrecision(20, 8)]
public decimal tax_amtount { get; set; }
///
/// 价税合计
///
[DecimalPrecision(20, 8)]
public decimal total_amount { get; set; }
///
/// 客户要求交期
///
public DateTime plan_date { get; set; }
///
/// 最终交货日期
///
public DateTime date { get; set; }
///
/// 计划员
///
[StringLength(50)]
public string planner_name { get; set; }
///
/// 计划员_工号
///
[StringLength(50)]
public string planner_no { get; set; }
///
/// 备注
///
[StringLength(255)]
public string remark { get; set; }
///
/// 源单编号
///
[StringLength(50)]
public string soure_bill_no { get; set; }
///
/// 客户订单号
///
[StringLength(50)]
public string custom_order_bill_no { get; set; }
///
/// 客户订单行号
///
public int custom_order_entryid { get; set; }
///
/// 系统建议交期(产能)
///
public DateTime sys_capacity_date { get; set; }
///
///调整建议交期
///
public DateTime adjust_date { get; set; }
///
///调整建议交期
///
public bool mrp_closed { get; set; }
///
/// 操作时间
///
public DateTime op_time { get; set; }
///
/// 客户料号
///
[StringLength(50)]
public string custom_order_itemno { get; set; }
///
/// 数据状态标识 0停用 1启用
///
public bool state { get; set; }
///
/// 评审状态
///
public int rstate { get; set; }
///
/// 评审次数
///
public int rnumber { get; set; }
///
/// 订单进度
///
[StringLength(255)]
public string progress { get; set; }
///
/// 发货通知单数量
///
[DecimalPrecision(20, 8)]
public decimal deliver_notice_count { get; set; }
///
/// 发货数量(已出库数量)
///
[DecimalPrecision(20, 8)]
public decimal deliver_count { get; set; }
///
/// 业务员工号
///
[StringLength(255)]
public string se_reject_reason { get; set; }
///
/// 出库类型
///
[StringLength(50)]
public string out_stock_type { get; set; }
///
/// 是否完成检测,0未完成,1完成
///
public bool is_checked { get; set; }
///
/// 系统建议交期(物料)
///
public DateTime sys_material_date { get; set; }
///
/// 合同编号
///
public string contract_no { get; set; }
///
public long create_dept { get; set; }
}
}