using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Business.Domain
{
///
/// 采购订单明细表
///
[Comment("采购订单明细表")]
public class PurOrdDetail
{
///
/// 主键
///
[Comment("主键")]
[Key]
public int RecID { get; set; }
public int PurOrdRecID { get; set; }
///
/// 域名
///
[Comment("域名")]
public string Domain { get; set; }
///
/// 类型
///
[Comment("类型")]
public string Potype { get; set; }
///
/// PO单号
///
[Comment("PO单号")]
public string PurOrd { get; set; }
///
/// 行号
///
[Comment("行号")]
public int? Line { get; set; }
///
/// 物料编码
///
[StringLength(100)]
[Comment("物料编码")]
public string ItemNum { get; set; }
///
/// 订单数量
///
[Precision(23, 10)]
[Comment("订单数量")]
public decimal? QtyOrded { get; set; }
///
/// 已收货数量
///
[Precision(23, 10)]
[Comment("已收货数量")]
public decimal? QtyReceived { get; set; }
///
/// 含税单价
///
[Precision(23, 10)]
[Comment("含税单价")]
public decimal? PurCost { get; set; }
///
/// 不含税单价
///
[Precision(23, 10)]
[Comment("不含税单价")]
public decimal? StdCost { get; set; }
///
/// 税率
///
[Precision(23, 10)]
[Comment("税率")]
public decimal? TaxRate { get; set; }
///
/// 需求到货日期
///
[Comment("需求到货日期")]
public DateTime? DueDate { get; set; }
///
/// 单位
///
[Comment("单位")]
public string UM { get; set; }
///
/// 是否有效:1-有效;0-无效
///
[Comment("是否有效")]
public bool IsActive { get; set; }
///
/// 创建时间
///
[Comment("创建时间")]
public DateTime? CreateTime { get; set; }
///
/// 创建人
///
[Comment("创建人")]
public string CreateUser { get; set; }
///
/// 创建时间
///
[Comment("修改时间")]
public DateTime? UpdateTime { get; set; }
///
/// 修改人
///
[Comment("修改人")]
public string UpdateUser { get; set; }
}
}