| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854 |
- // <auto-generated />
- using System;
- using Business.EntityFrameworkCore;
- using Microsoft.EntityFrameworkCore;
- using Microsoft.EntityFrameworkCore.Infrastructure;
- using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
- using Volo.Abp.EntityFrameworkCore;
- #nullable disable
- namespace Business.Migrations.BusinessBangMigrationDb
- {
- [DbContext(typeof(BusinessBangMigrationDbContext))]
- partial class BusinessBangMigrationDbContextModelSnapshot : ModelSnapshot
- {
- protected override void BuildModel(ModelBuilder modelBuilder)
- {
- #pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
- .HasAnnotation("ProductVersion", "6.0.5")
- .HasAnnotation("Relational:MaxIdentifierLength", 64);
- modelBuilder.Entity("Bussiness.Model.Bang.b_bom_child_examine", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
- b.Property<bool>("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint(1)")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted")
- .HasComment("删除标识");
- b.Property<int?>("backflush")
- .HasColumnType("int")
- .HasComment("是否倒冲");
- b.Property<long?>("bom_child_id")
- .HasColumnType("bigint")
- .HasComment("bom明细主键");
- b.Property<long?>("bom_id")
- .HasColumnType("bigint")
- .HasComment("BOMid");
- b.Property<string>("bom_number")
- .HasMaxLength(20)
- .HasColumnType("varchar(20)")
- .HasComment("bom编号");
- b.Property<long?>("create_by")
- .HasColumnType("bigint")
- .HasComment("创建人id");
- b.Property<string>("create_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("创建人名称");
- b.Property<DateTime?>("create_time")
- .HasColumnType("datetime(6)")
- .HasComment("创建时间");
- b.Property<int?>("erp_cls")
- .HasColumnType("int")
- .HasComment("物料属性");
- b.Property<string>("erp_cls_name")
- .HasMaxLength(80)
- .HasColumnType("varchar(80)")
- .HasComment("物料属性名称");
- b.Property<long?>("examine_id")
- .HasColumnType("bigint")
- .HasComment("资源检查ID");
- b.Property<long?>("factory_id")
- .HasColumnType("bigint")
- .HasComment("工厂ID");
- b.Property<int?>("haveicsubs")
- .HasColumnType("int")
- .HasComment("存在替代关系");
- b.Property<bool>("is_use")
- .HasColumnType("tinyint(1)")
- .HasComment("是否使用此物料");
- b.Property<int?>("isbom")
- .HasColumnType("int")
- .HasComment("是否BOM");
- b.Property<long?>("item_id")
- .HasColumnType("bigint")
- .HasComment("物料id");
- b.Property<string>("item_name")
- .HasMaxLength(200)
- .HasColumnType("varchar(200)")
- .HasComment("物料名称");
- b.Property<string>("item_number")
- .HasMaxLength(80)
- .HasColumnType("varchar(80)")
- .HasComment("物料编号");
- b.Property<DateTime?>("kitting_time")
- .HasColumnType("datetime(6)")
- .HasComment("齐套时间");
- b.Property<decimal?>("lack_qty")
- .HasColumnType("decimal(65,30)")
- .HasComment("缺料数量");
- b.Property<int?>("level")
- .HasColumnType("int")
- .HasComment("level");
- b.Property<decimal?>("make_qty")
- .HasColumnType("decimal(65,30)")
- .HasComment("自制数量");
- b.Property<decimal?>("mo_qty")
- .HasColumnType("decimal(65,30)")
- .HasComment("在制占用数量");
- b.Property<string>("model")
- .HasMaxLength(200)
- .HasColumnType("varchar(200)")
- .HasComment("规格型号");
- b.Property<decimal?>("needCount")
- .HasColumnType("decimal(65,30)")
- .HasComment("单个产品总需要用量");
- b.Property<string>("num")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("项次号");
- b.Property<long?>("num_order")
- .HasColumnType("bigint")
- .HasComment("排序使用");
- b.Property<long?>("org_id")
- .HasColumnType("bigint")
- .HasComment("组织ID");
- b.Property<long?>("parent_id")
- .HasColumnType("bigint")
- .HasComment("父级id");
- b.Property<decimal?>("purchase_occupy_qty")
- .HasColumnType("decimal(65,30)")
- .HasComment("采购明细占用数量");
- b.Property<decimal?>("purchase_qty")
- .HasColumnType("decimal(65,30)")
- .HasComment("采购数量");
- b.Property<decimal?>("qty")
- .HasColumnType("decimal(65,30)")
- .HasComment("单位用量");
- b.Property<DateTime?>("satisfy_time")
- .HasColumnType("datetime(6)")
- .HasComment("满足时间");
- b.Property<decimal?>("self_lack_qty")
- .HasColumnType("decimal(65,30)")
- .HasComment("本级缺料数量");
- b.Property<long?>("sentry_id")
- .HasColumnType("bigint")
- .HasComment("订单行ID");
- b.Property<decimal?>("sqty")
- .HasColumnType("decimal(65,30)")
- .HasComment("库存数量");
- b.Property<int?>("stock_state")
- .HasColumnType("int")
- .HasComment("物料状态");
- b.Property<decimal?>("subcontracting_qty")
- .HasColumnType("decimal(65,30)")
- .HasComment("委外数量");
- b.Property<int?>("substitute_all_num")
- .HasColumnType("int")
- .HasComment("群组优先级");
- b.Property<string>("substitute_code")
- .HasMaxLength(20)
- .HasColumnType("varchar(20)")
- .HasComment("群组代码");
- b.Property<int?>("substitute_mode")
- .HasColumnType("int")
- .HasComment("替代方式");
- b.Property<int?>("substitute_strategy")
- .HasColumnType("int")
- .HasComment("替代策略");
- b.Property<long>("tenant_id")
- .HasColumnType("bigint")
- .HasComment("企业ID");
- b.Property<int?>("type")
- .HasColumnType("int")
- .HasComment("类型");
- b.Property<string>("unit")
- .HasMaxLength(80)
- .HasColumnType("varchar(80)")
- .HasComment("单位");
- b.Property<long?>("update_by")
- .HasColumnType("bigint")
- .HasComment("修改人");
- b.Property<string>("update_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("修改人名称");
- b.Property<DateTime?>("update_time")
- .HasColumnType("datetime(6)")
- .HasComment("修改时间");
- b.Property<decimal?>("use_qty")
- .HasColumnType("decimal(65,30)")
- .HasComment("库存占用数量");
- b.Property<string>("version")
- .HasMaxLength(80)
- .HasColumnType("varchar(80)")
- .HasComment("版本");
- b.HasKey("Id");
- b.ToTable("b_bom_child_examine", (string)null);
- b.HasComment("Bom明细检查结果");
- });
- modelBuilder.Entity("Bussiness.Model.Bang.b_examine_result", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
- b.Property<bool>("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint(1)")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted")
- .HasComment("删除标识");
- b.Property<string>("bill_no")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("订单编号");
- b.Property<string>("bom_number")
- .HasMaxLength(20)
- .HasColumnType("varchar(20)")
- .HasComment("BOM编码");
- b.Property<long?>("create_by")
- .HasColumnType("bigint")
- .HasComment("创建人id");
- b.Property<string>("create_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("创建人名称");
- b.Property<DateTime?>("create_time")
- .HasColumnType("datetime(6)")
- .HasComment("创建时间");
- b.Property<DateTime?>("earliest_times")
- .HasColumnType("datetime(6)")
- .HasComment("最早开工时间");
- b.Property<int?>("entry_seq")
- .HasColumnType("int")
- .HasComment("行号");
- b.Property<long?>("factory_id")
- .HasColumnType("bigint")
- .HasComment("工厂ID");
- b.Property<DateTime?>("kitting_times")
- .HasColumnType("datetime(6)")
- .HasComment("物料齐套时间");
- b.Property<DateTime?>("latest_times")
- .HasColumnType("datetime(6)")
- .HasComment("最晚开工时间");
- b.Property<long?>("morder_id")
- .HasColumnType("bigint")
- .HasComment("工单id");
- b.Property<string>("morder_no")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("工单号");
- b.Property<decimal?>("need_qty")
- .HasPrecision(20, 8)
- .HasColumnType("decimal(20,8)")
- .HasComment("BOM编码");
- b.Property<DateTime?>("order_statr_time")
- .HasColumnType("datetime(6)")
- .HasComment("工单开工时间");
- b.Property<long?>("org_id")
- .HasColumnType("bigint")
- .HasComment("组织ID");
- b.Property<long?>("sentry_id")
- .HasColumnType("bigint")
- .HasComment("订单行id");
- b.Property<long?>("sorderid")
- .HasColumnType("bigint")
- .HasComment("订单id");
- b.Property<long>("tenant_id")
- .HasColumnType("bigint")
- .HasComment("企业ID");
- b.Property<long?>("update_by")
- .HasColumnType("bigint")
- .HasComment("修改人");
- b.Property<string>("update_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("修改人名称");
- b.Property<DateTime?>("update_time")
- .HasColumnType("datetime(6)")
- .HasComment("修改时间");
- b.HasKey("Id");
- b.ToTable("b_examine_result", (string)null);
- b.HasComment("资源检查");
- });
- modelBuilder.Entity("Bussiness.Model.Bang.b_mo_occupy", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
- b.Property<bool>("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint(1)")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted")
- .HasComment("删除标识");
- b.Property<long?>("bom_child_examine_id")
- .HasColumnType("bigint")
- .HasComment("物料检查明细ID");
- b.Property<long?>("create_by")
- .HasColumnType("bigint")
- .HasComment("创建人id");
- b.Property<string>("create_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("创建人名称");
- b.Property<DateTime?>("create_time")
- .HasColumnType("datetime(6)")
- .HasComment("创建时间");
- b.Property<long?>("factory_id")
- .HasColumnType("bigint")
- .HasComment("工厂ID");
- b.Property<DateTime?>("moo_etime")
- .HasColumnType("datetime(6)")
- .HasComment("结束时间");
- b.Property<string>("moo_mo")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("工单号");
- b.Property<decimal?>("moo_qty")
- .HasColumnType("decimal(65,30)")
- .HasComment("占用量");
- b.Property<DateTime?>("moo_stime")
- .HasColumnType("datetime(6)")
- .HasComment("开始时间");
- b.Property<long?>("org_id")
- .HasColumnType("bigint")
- .HasComment("组织ID");
- b.Property<long>("tenant_id")
- .HasColumnType("bigint")
- .HasComment("企业ID");
- b.Property<long?>("update_by")
- .HasColumnType("bigint")
- .HasComment("修改人");
- b.Property<string>("update_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("修改人名称");
- b.Property<DateTime?>("update_time")
- .HasColumnType("datetime(6)")
- .HasComment("修改时间");
- b.HasKey("Id");
- b.ToTable("b_mo_occupy", (string)null);
- b.HasComment("在制占用明细");
- });
- modelBuilder.Entity("Bussiness.Model.Bang.b_mo_order", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
- b.Property<bool>("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint(1)")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted")
- .HasComment("删除标识");
- b.Property<long?>("bom_child_examine_id")
- .HasColumnType("bigint")
- .HasComment("物料检查明细ID");
- b.Property<long?>("create_by")
- .HasColumnType("bigint")
- .HasComment("创建人id");
- b.Property<string>("create_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("创建人名称");
- b.Property<DateTime?>("create_time")
- .HasColumnType("datetime(6)")
- .HasComment("创建时间");
- b.Property<long?>("factory_id")
- .HasColumnType("bigint")
- .HasComment("工厂ID");
- b.Property<DateTime?>("moentry_etime")
- .HasColumnType("datetime(6)")
- .HasComment("生产工单结束日期");
- b.Property<string>("moentry_prdname")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("生产组织名称");
- b.Property<DateTime?>("moentry_stime")
- .HasColumnType("datetime(6)")
- .HasComment("生产工单开始日期");
- b.Property<DateTime?>("moentry_sys_etime")
- .HasColumnType("datetime(6)")
- .HasComment("系统建议完工时间");
- b.Property<DateTime?>("moentry_sys_stime")
- .HasColumnType("datetime(6)")
- .HasComment("系统建议开工时间");
- b.Property<string>("moentry_wrkcname")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("工作中心名称");
- b.Property<decimal?>("morder_need_time")
- .HasColumnType("decimal(65,30)")
- .HasComment("工单所需工时");
- b.Property<string>("morder_no")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("生产工单编号");
- b.Property<decimal?>("morder_production_number")
- .HasColumnType("decimal(65,30)")
- .HasComment("工单生产数量");
- b.Property<decimal?>("need_number")
- .HasColumnType("decimal(65,30)")
- .HasComment("需求数量");
- b.Property<long?>("org_id")
- .HasColumnType("bigint")
- .HasComment("组织ID");
- b.Property<DateTime?>("reality_end_time")
- .HasColumnType("datetime(6)")
- .HasComment("实际结束时间");
- b.Property<DateTime?>("reality_start_time")
- .HasColumnType("datetime(6)")
- .HasComment("实际开始时间");
- b.Property<long>("tenant_id")
- .HasColumnType("bigint")
- .HasComment("企业ID");
- b.Property<long?>("update_by")
- .HasColumnType("bigint")
- .HasComment("修改人");
- b.Property<string>("update_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("修改人名称");
- b.Property<DateTime?>("update_time")
- .HasColumnType("datetime(6)")
- .HasComment("修改时间");
- b.HasKey("Id");
- b.ToTable("b_mo_order", (string)null);
- b.HasComment("生产工单明细");
- });
- modelBuilder.Entity("Bussiness.Model.Bang.b_ooder", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
- b.Property<bool>("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint(1)")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted")
- .HasComment("删除标识");
- b.Property<long?>("bom_child_examine_id")
- .HasColumnType("bigint")
- .HasComment("物料检查明细ID");
- b.Property<long?>("create_by")
- .HasColumnType("bigint")
- .HasComment("创建人id");
- b.Property<string>("create_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("创建人名称");
- b.Property<DateTime?>("create_time")
- .HasColumnType("datetime(6)")
- .HasComment("创建时间");
- b.Property<long?>("factory_id")
- .HasColumnType("bigint")
- .HasComment("工厂ID");
- b.Property<decimal?>("morder_production_number")
- .HasColumnType("decimal(65,30)")
- .HasComment("工单生产数量");
- b.Property<DateTime?>("ooentry_etime")
- .HasColumnType("datetime(6)")
- .HasComment("计划完工日期");
- b.Property<string>("ooentry_prdname")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("生产组织名称");
- b.Property<DateTime?>("ooentry_stime")
- .HasColumnType("datetime(6)")
- .HasComment("计划开工日期");
- b.Property<DateTime?>("oorder_date")
- .HasColumnType("datetime(6)")
- .HasComment("委外订单日期");
- b.Property<string>("oorder_no")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("工单编号");
- b.Property<long?>("org_id")
- .HasColumnType("bigint")
- .HasComment("组织ID");
- b.Property<string>("production_unit")
- .HasMaxLength(100)
- .HasColumnType("varchar(100)")
- .HasComment("加工单位");
- b.Property<string>("production_unit_code")
- .HasMaxLength(20)
- .HasColumnType("varchar(20)")
- .HasComment("加工单位编码");
- b.Property<long>("tenant_id")
- .HasColumnType("bigint")
- .HasComment("企业ID");
- b.Property<long?>("update_by")
- .HasColumnType("bigint")
- .HasComment("修改人");
- b.Property<string>("update_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("修改人名称");
- b.Property<DateTime?>("update_time")
- .HasColumnType("datetime(6)")
- .HasComment("修改时间");
- b.HasKey("Id");
- b.ToTable("b_ooder", (string)null);
- b.HasComment("采购占用明细");
- });
- modelBuilder.Entity("Bussiness.Model.Bang.b_purchase", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
- b.Property<bool>("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint(1)")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted")
- .HasComment("删除标识");
- b.Property<long?>("bom_child_examine_id")
- .HasColumnType("bigint")
- .HasComment("物料检查明细ID");
- b.Property<long?>("create_by")
- .HasColumnType("bigint")
- .HasComment("创建人id");
- b.Property<string>("create_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("创建人名称");
- b.Property<DateTime?>("create_time")
- .HasColumnType("datetime(6)")
- .HasComment("创建时间");
- b.Property<long?>("factory_id")
- .HasColumnType("bigint")
- .HasComment("工厂ID");
- b.Property<long?>("org_id")
- .HasColumnType("bigint")
- .HasComment("组织ID");
- b.Property<decimal?>("pr_aqty")
- .HasColumnType("decimal(65,30)")
- .HasComment("申请数量");
- b.Property<string>("pr_billno")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("pr单号");
- b.Property<decimal?>("pr_orderprice")
- .HasColumnType("decimal(65,30)")
- .HasComment("订单价格(含税)");
- b.Property<DateTime?>("pr_parrive_date")
- .HasColumnType("datetime(6)")
- .HasComment("计划到达日期");
- b.Property<decimal?>("pr_price")
- .HasColumnType("decimal(65,30)")
- .HasComment("采购净价(不含税)");
- b.Property<DateTime?>("pr_pur_affirm_date")
- .HasColumnType("datetime(6)")
- .HasComment("采购确认到货日期");
- b.Property<string>("pr_purchasename")
- .HasMaxLength(80)
- .HasColumnType("varchar(80)")
- .HasComment("供应商名称");
- b.Property<string>("pr_purchasenumber")
- .HasMaxLength(80)
- .HasColumnType("varchar(80)")
- .HasComment("供应商编码");
- b.Property<DateTime?>("pr_rarrive_date")
- .HasColumnType("datetime(6)")
- .HasComment("需求到货日期");
- b.Property<decimal?>("pr_rate")
- .HasColumnType("decimal(65,30)")
- .HasComment("税率");
- b.Property<decimal?>("pr_rqty")
- .HasColumnType("decimal(65,30)")
- .HasComment("需求数量");
- b.Property<decimal?>("pr_sqty")
- .HasColumnType("decimal(65,30)")
- .HasComment("建议数量");
- b.Property<decimal?>("pr_sysprice")
- .HasColumnType("decimal(65,30)")
- .HasComment("系统价格(含税)");
- b.Property<long>("tenant_id")
- .HasColumnType("bigint")
- .HasComment("企业ID");
- b.Property<long?>("update_by")
- .HasColumnType("bigint")
- .HasComment("修改人");
- b.Property<string>("update_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("修改人名称");
- b.Property<DateTime?>("update_time")
- .HasColumnType("datetime(6)")
- .HasComment("修改时间");
- b.HasKey("Id");
- b.ToTable("b_purchase", (string)null);
- b.HasComment("采购明细信息");
- });
- modelBuilder.Entity("Bussiness.Model.Bang.b_purchase_occupy", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("bigint");
- b.Property<bool>("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnType("tinyint(1)")
- .HasDefaultValue(false)
- .HasColumnName("IsDeleted")
- .HasComment("删除标识");
- b.Property<long?>("bom_child_examine_id")
- .HasColumnType("bigint")
- .HasComment("物料检查明细ID");
- b.Property<long?>("create_by")
- .HasColumnType("bigint")
- .HasComment("创建人id");
- b.Property<string>("create_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("创建人名称");
- b.Property<DateTime?>("create_time")
- .HasColumnType("datetime(6)")
- .HasComment("创建时间");
- b.Property<DateTime?>("etime")
- .HasColumnType("datetime(6)")
- .HasComment("结束时间");
- b.Property<long?>("factory_id")
- .HasColumnType("bigint")
- .HasComment("工厂ID");
- b.Property<long?>("org_id")
- .HasColumnType("bigint")
- .HasComment("组织ID");
- b.Property<string>("po_billno")
- .HasMaxLength(80)
- .HasColumnType("varchar(80)")
- .HasComment("采购订单单号");
- b.Property<decimal?>("qty")
- .HasColumnType("decimal(65,30)")
- .HasComment("占用量");
- b.Property<DateTime?>("stime")
- .HasColumnType("datetime(6)")
- .HasComment("开始时间");
- b.Property<long>("tenant_id")
- .HasColumnType("bigint")
- .HasComment("企业ID");
- b.Property<string>("type")
- .HasMaxLength(80)
- .HasColumnType("varchar(80)")
- .HasComment("类型");
- b.Property<long?>("update_by")
- .HasColumnType("bigint")
- .HasComment("修改人");
- b.Property<string>("update_by_name")
- .HasMaxLength(50)
- .HasColumnType("varchar(50)")
- .HasComment("修改人名称");
- b.Property<DateTime?>("update_time")
- .HasColumnType("datetime(6)")
- .HasComment("修改时间");
- b.HasKey("Id");
- b.ToTable("b_purchase_occupy", (string)null);
- b.HasComment("采购占用明细");
- });
- #pragma warning restore 612, 618
- }
- }
- }
|