using Business.Core.Attributes;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
namespace Business.Domain
{
///
/// 采购明细信息
///
[CollectionName("dopbase", "b_purchase")]
[Comment("采购明细信息")]
public class b_purchase : BaseEntity
{
///
/// 物料检查明细ID
///
[Comment("物料检查明细ID")]
public long? bom_child_examine_id { get; set; }
///
/// pr单号
///
[Comment("pr单号")]
[StringLength(50)]
public string pr_billno { get; set; }
///
/// 供应商编码
///
/// 供应商名称
///
[Comment("供应商名称")]
[StringLength(80)]
public string pr_purchasename { get; set; }
///
/// 需求数量
///
[Comment("需求数量")]
[Precision(23, 10)]
public decimal? pr_rqty { get; set; }
///
/// 申请数量
///
[Comment("申请数量")]
[Precision(23, 10)]
public decimal? pr_aqty { get; set; }
///
/// 建议数量
///
[Comment("建议数量")]
[Precision(23, 10)]
public decimal? pr_sqty { get; set; }
///
/// 计划到达日期
///
[Comment("计划到达日期")]
public DateTime? pr_parrive_date { get; set; }
///
/// 需求到货日期
///
[Comment("需求到货日期")]
public DateTime? pr_rarrive_date { get; set; }
///
/// 采购确认到货日期
///
[Comment("采购确认到货日期")]
public DateTime? pr_pur_affirm_date { get; set; }
///
/// 系统价格(含税)
///
[Comment("系统价格(含税)")]
[Precision(23, 10)]
public decimal? pr_sysprice { get; set; }
///
/// 订单价格(含税)
///
[Comment("订单价格(含税)")]
[Precision(23, 10)]
public decimal? pr_orderprice { get; set; }
///
/// 采购净价(不含税)
///
[Comment("采购净价(不含税)")]
[Precision(23, 10)]
public decimal? pr_price { get; set; }
///
/// 税率
///
[Comment("税率")]
[Precision(23, 10)]
public decimal? pr_rate { get; set; }
///
/// 最优解
///
[Comment("最优解")]
public bool isbestoptions { get; set; }
}
}