namespace Admin.NET.Plugin.AiDOP.Supply; /// /// 物料采购申请单(srm_pr_main) /// [SugarTable("srm_pr_main", "物料采购申请单")] public class PurchaseRequestMain { [SugarColumn(ColumnName = "voucher", IsPrimaryKey = true, IsIdentity = true)] public long Voucher { get; set; } [SugarColumn(ColumnName = "Id")] public long Id { get; set; } [SugarColumn(ColumnName = "pr_billno", IsNullable = true)] public string? PrBillNo { get; set; } [SugarColumn(ColumnName = "pr_purchaseid")] public long PrPurchaseId { get; set; } [SugarColumn(ColumnName = "pr_purchasenumber", IsNullable = true)] public string? PrPurchaseNumber { get; set; } [SugarColumn(ColumnName = "pr_purchasename", IsNullable = true)] public string? PrPurchaseName { get; set; } [SugarColumn(ColumnName = "pr_purchaser", IsNullable = true)] public string? PrPurchaser { get; set; } [SugarColumn(ColumnName = "pr_purchaser_num", IsNullable = true)] public string? PrPurchaserNum { get; set; } [SugarColumn(ColumnName = "pr_rqty", IsNullable = true)] public decimal? PrRqty { get; set; } [SugarColumn(ColumnName = "pr_aqty", IsNullable = true)] public decimal? PrAqty { get; set; } [SugarColumn(ColumnName = "pr_sqty", IsNullable = true)] public decimal? PrSqty { get; set; } [SugarColumn(ColumnName = "icitem_id")] public long IcitemId { get; set; } [SugarColumn(ColumnName = "icitem_name", IsNullable = true)] public string? IcitemName { get; set; } [SugarColumn(ColumnName = "pr_ssend_date", IsNullable = true)] public DateTime? PrSsendDate { get; set; } [SugarColumn(ColumnName = "pr_sarrive_date", IsNullable = true)] public DateTime? PrSarriveDate { get; set; } [SugarColumn(ColumnName = "pr_unit", IsNullable = true)] public string? PrUnit { get; set; } [SugarColumn(ColumnName = "state", IsNullable = true)] public int? State { get; set; } [SugarColumn(ColumnName = "pr_type", IsNullable = true)] public int? PrType { get; set; } [SugarColumn(ColumnName = "currencytype")] public long CurrencyType { get; set; } [SugarColumn(ColumnName = "create_by", IsNullable = true)] public long? CreateBy { get; set; } [SugarColumn(ColumnName = "create_by_name", IsNullable = true)] public string? CreateByName { get; set; } [SugarColumn(ColumnName = "create_time", IsNullable = true)] public DateTime? CreateTime { get; set; } [SugarColumn(ColumnName = "update_by", IsNullable = true)] public long? UpdateBy { get; set; } [SugarColumn(ColumnName = "update_by_name", IsNullable = true)] public string? UpdateByName { get; set; } [SugarColumn(ColumnName = "update_time", IsNullable = true)] public DateTime? UpdateTime { get; set; } [SugarColumn(ColumnName = "tenant_id")] public long TenantId { get; set; } [SugarColumn(ColumnName = "factory_id", IsNullable = true)] public long? FactoryId { get; set; } [SugarColumn(ColumnName = "org_id", IsNullable = true)] public long? OrgId { get; set; } [SugarColumn(ColumnName = "IsDeleted")] public bool IsDeleted { get; set; } [SugarColumn(ColumnName = "company_id", IsNullable = true)] public long? CompanyId { get; set; } [SugarColumn(ColumnName = "IsRequireGoods")] public int IsRequireGoods { get; set; } [SugarColumn(ColumnName = "supplier_type", IsNullable = true)] public string? SupplierType { get; set; } }