20230323032012_init.Designer.cs 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545
  1. // <auto-generated />
  2. using System;
  3. using Business.EntityFrameworkCore;
  4. using Microsoft.EntityFrameworkCore;
  5. using Microsoft.EntityFrameworkCore.Infrastructure;
  6. using Microsoft.EntityFrameworkCore.Migrations;
  7. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  8. using Volo.Abp.EntityFrameworkCore;
  9. #nullable disable
  10. namespace Business.Migrations.BusinessExtMigrationDb
  11. {
  12. [DbContext(typeof(BusinessExtMigrationDbContext))]
  13. [Migration("20230323032012_init")]
  14. partial class init
  15. {
  16. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  17. {
  18. #pragma warning disable 612, 618
  19. modelBuilder
  20. .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
  21. .HasAnnotation("ProductVersion", "6.0.5")
  22. .HasAnnotation("Relational:MaxIdentifierLength", 64);
  23. modelBuilder.Entity("Bussiness.Model.Ext.in_kd_bom", b =>
  24. {
  25. b.Property<long>("Id")
  26. .ValueGeneratedOnAdd()
  27. .HasColumnType("bigint");
  28. b.Property<string>("FBOMCATEGORY")
  29. .HasMaxLength(80)
  30. .HasColumnType("varchar(80)")
  31. .HasComment("BOM分类");
  32. b.Property<DateTime?>("FCHILDITEMMODEL")
  33. .HasMaxLength(80)
  34. .HasColumnType("datetime(6)")
  35. .HasComment("子项规格型号");
  36. b.Property<string>("FCHILDITEMNAME")
  37. .HasMaxLength(80)
  38. .HasColumnType("varchar(80)")
  39. .HasComment("子项物料名称");
  40. b.Property<string>("FCHILDUNITID_Name")
  41. .HasMaxLength(10)
  42. .HasColumnType("varchar(10)")
  43. .HasComment("子项单位");
  44. b.Property<string>("FChildSupplyOrgId_Name")
  45. .HasMaxLength(80)
  46. .HasColumnType("varchar(80)")
  47. .HasComment("供应组织");
  48. b.Property<decimal?>("FDENOMINATOR")
  49. .HasPrecision(23, 10)
  50. .HasColumnType("decimal(23,10)")
  51. .HasComment("用量:分母");
  52. b.Property<string>("FITEMMODEL")
  53. .HasMaxLength(80)
  54. .HasColumnType("varchar(80)")
  55. .HasComment("规格型号");
  56. b.Property<string>("FITEMNAME")
  57. .HasMaxLength(80)
  58. .HasColumnType("varchar(80)")
  59. .HasComment("物料名称");
  60. b.Property<string>("FITEMPPROPERTY")
  61. .HasMaxLength(10)
  62. .HasColumnType("varchar(10)")
  63. .HasComment("数据状态");
  64. b.Property<string>("FIskeyItem")
  65. .HasMaxLength(1)
  66. .HasColumnType("varchar(1)")
  67. .HasComment("替代主料");
  68. b.Property<string>("FMATERIALIDCHILD_Name")
  69. .HasMaxLength(80)
  70. .HasColumnType("varchar(80)")
  71. .HasComment("子项物料编码");
  72. b.Property<string>("FMATERIALID_Name")
  73. .HasMaxLength(80)
  74. .HasColumnType("varchar(80)")
  75. .HasComment("父项物料编码");
  76. b.Property<decimal?>("FNUMERATOR")
  77. .HasPrecision(23, 10)
  78. .HasColumnType("decimal(23,10)")
  79. .HasComment("用量:分子");
  80. b.Property<string>("FName_2052")
  81. .HasMaxLength(10)
  82. .HasColumnType("varchar(10)")
  83. .HasComment("BOM简称");
  84. b.Property<string>("FNumber")
  85. .HasMaxLength(80)
  86. .HasColumnType("varchar(80)")
  87. .HasComment("BOM版本");
  88. b.Property<string>("FPROCESSID_Name")
  89. .HasMaxLength(80)
  90. .HasColumnType("varchar(80)")
  91. .HasComment("作业");
  92. b.Property<int?>("FReplaceGroup")
  93. .HasColumnType("int")
  94. .HasComment("项次");
  95. b.Property<string>("FReplacePolicy")
  96. .HasMaxLength(80)
  97. .HasColumnType("varchar(80)")
  98. .HasComment("替代策略");
  99. b.Property<int?>("FReplacePriority")
  100. .HasColumnType("int")
  101. .HasComment("替代优先级");
  102. b.Property<string>("FReplaceType")
  103. .HasMaxLength(80)
  104. .HasColumnType("varchar(80)")
  105. .HasComment("替代方式");
  106. b.Property<string>("FSubstitutionId_Name")
  107. .HasMaxLength(255)
  108. .HasColumnType("varchar(255)")
  109. .HasComment("80");
  110. b.Property<string>("FSubstitutionName")
  111. .HasMaxLength(80)
  112. .HasColumnType("varchar(80)")
  113. .HasComment("替代方案名称");
  114. b.Property<string>("FSupplyType")
  115. .HasMaxLength(1)
  116. .HasColumnType("varchar(1)")
  117. .HasComment("供应类型");
  118. b.Property<string>("FUseOrgId_Name")
  119. .HasMaxLength(80)
  120. .HasColumnType("varchar(80)")
  121. .HasComment("使用组织");
  122. b.Property<string>("F_ZXWLMS")
  123. .HasMaxLength(255)
  124. .HasColumnType("varchar(255)")
  125. .HasComment("子项物料描述");
  126. b.Property<string>("F_ZXWLPP")
  127. .HasMaxLength(255)
  128. .HasColumnType("varchar(255)")
  129. .HasComment("子项物料品牌");
  130. b.HasKey("Id");
  131. b.ToTable("in_kd_bom", (string)null);
  132. b.HasComment("物料清单");
  133. });
  134. modelBuilder.Entity("Bussiness.Model.Ext.in_kd_material", b =>
  135. {
  136. b.Property<long>("Id")
  137. .ValueGeneratedOnAdd()
  138. .HasColumnType("bigint");
  139. b.Property<decimal?>("FATOSchemeId_Name")
  140. .HasPrecision(20, 8)
  141. .HasColumnType("decimal(20,8)")
  142. .HasComment("ATO预测冲销方案");
  143. b.Property<decimal?>("FAccuLeadTime")
  144. .HasPrecision(20, 8)
  145. .HasColumnType("decimal(20,8)")
  146. .HasComment("累计提前期");
  147. b.Property<decimal?>("FAgentSalReduceRate")
  148. .HasPrecision(20, 8)
  149. .HasColumnType("decimal(20,8)")
  150. .HasComment("代理销售减价比例(%)");
  151. b.Property<string>("FAllowPartAhead")
  152. .HasMaxLength(1)
  153. .HasColumnType("varchar(1)")
  154. .HasComment("预计入库允许部分提前");
  155. b.Property<string>("FAllowPartDelay")
  156. .HasMaxLength(1)
  157. .HasColumnType("varchar(1)")
  158. .HasComment("预计入库允许部分延后");
  159. b.Property<string>("FAllowPublish")
  160. .HasMaxLength(1)
  161. .HasColumnType("varchar(1)")
  162. .HasComment("允许发布到订货平台");
  163. b.Property<DateTime?>("FApproveDate")
  164. .HasColumnType("datetime(6)")
  165. .HasComment("审核日期");
  166. b.Property<string>("FApproverId_Name")
  167. .HasMaxLength(80)
  168. .HasColumnType("varchar(80)")
  169. .HasComment("审核人");
  170. b.Property<string>("FAuxPropertyId_Name")
  171. .HasMaxLength(255)
  172. .HasColumnType("varchar(255)")
  173. .HasComment("辅助属性");
  174. b.Property<string>("FAuxUnitID_Name")
  175. .HasMaxLength(10)
  176. .HasColumnType("varchar(10)")
  177. .HasComment("辅助单位");
  178. b.Property<string>("FBARCODE")
  179. .HasMaxLength(80)
  180. .HasColumnType("varchar(80)")
  181. .HasComment("条码");
  182. b.Property<string>("FBKFLTime")
  183. .HasMaxLength(80)
  184. .HasColumnType("varchar(80)")
  185. .HasComment("倒冲时机");
  186. b.Property<string>("FBOMUnitId_Name")
  187. .HasMaxLength(10)
  188. .HasColumnType("varchar(10)")
  189. .HasComment("子项单位");
  190. b.Property<string>("FBackFlushType")
  191. .HasMaxLength(80)
  192. .HasColumnType("varchar(80)")
  193. .HasComment("倒冲数量");
  194. b.Property<string>("FBaseUnitId_Name")
  195. .HasMaxLength(80)
  196. .HasColumnType("varchar(80)")
  197. .HasComment("基本单位");
  198. b.Property<string>("FBatchRuleID_Name")
  199. .HasMaxLength(80)
  200. .HasColumnType("varchar(80)")
  201. .HasComment("批号编码规则");
  202. b.Property<decimal?>("FBoxStandardQty")
  203. .HasPrecision(20, 8)
  204. .HasColumnType("decimal(20,8)")
  205. .HasComment("单箱标准数量");
  206. b.Property<string>("FCONFIGTYPE")
  207. .HasMaxLength(255)
  208. .HasColumnType("varchar(255)")
  209. .HasComment("配置生产");
  210. b.Property<decimal?>("FCanDelayDays")
  211. .HasPrecision(20, 8)
  212. .HasColumnType("decimal(20,8)")
  213. .HasComment("允许延后天数");
  214. b.Property<decimal?>("FCanLeadDays")
  215. .HasPrecision(20, 8)
  216. .HasColumnType("decimal(20,8)")
  217. .HasComment("允许提前天数");
  218. b.Property<string>("FCategoryID_Name")
  219. .HasMaxLength(80)
  220. .HasColumnType("varchar(80)")
  221. .HasComment("存货类别");
  222. b.Property<string>("FChargeID_Name")
  223. .HasMaxLength(80)
  224. .HasColumnType("varchar(80)")
  225. .HasComment("费用项目");
  226. b.Property<string>("FCheckDelivery")
  227. .HasMaxLength(1)
  228. .HasColumnType("varchar(1)")
  229. .HasComment("发货检验");
  230. b.Property<string>("FCheckEntrusted")
  231. .HasMaxLength(1)
  232. .HasColumnType("varchar(1)")
  233. .HasComment("受托材料检验");
  234. b.Property<string>("FCheckIncoming")
  235. .HasMaxLength(1)
  236. .HasColumnType("varchar(1)")
  237. .HasComment("来料检验");
  238. b.Property<decimal?>("FCheckLeadTime")
  239. .HasPrecision(20, 8)
  240. .HasColumnType("decimal(20,8)")
  241. .HasComment("检验提前期");
  242. b.Property<string>("FCheckLeadTimeType")
  243. .HasMaxLength(10)
  244. .HasColumnType("varchar(10)")
  245. .HasComment("检验提前期单位");
  246. b.Property<string>("FCheckOther")
  247. .HasMaxLength(1)
  248. .HasColumnType("varchar(1)")
  249. .HasComment("其他检验");
  250. b.Property<string>("FCheckProduct")
  251. .HasMaxLength(1)
  252. .HasColumnType("varchar(1)")
  253. .HasComment("产品检验");
  254. b.Property<string>("FCheckReturn")
  255. .HasMaxLength(1)
  256. .HasColumnType("varchar(1)")
  257. .HasComment("退货检验");
  258. b.Property<string>("FCheckReturnMtrl")
  259. .HasMaxLength(1)
  260. .HasColumnType("varchar(1)")
  261. .HasComment("生产退料检验");
  262. b.Property<string>("FCheckStock")
  263. .HasMaxLength(1)
  264. .HasColumnType("varchar(1)")
  265. .HasComment("库存检验");
  266. b.Property<decimal?>("FConsumVolatility")
  267. .HasPrecision(20, 8)
  268. .HasColumnType("decimal(20,8)")
  269. .HasComment("消耗波动(%)");
  270. b.Property<decimal?>("FCostPriceRate")
  271. .HasPrecision(20, 8)
  272. .HasColumnType("decimal(20,8)")
  273. .HasComment("结算成本价加减价比例(%)");
  274. b.Property<string>("FCountCycle")
  275. .HasMaxLength(10)
  276. .HasColumnType("varchar(10)")
  277. .HasComment("盘点周期单位");
  278. b.Property<decimal?>("FCountDay")
  279. .HasPrecision(20, 8)
  280. .HasColumnType("decimal(20,8)")
  281. .HasComment("盘点周期");
  282. b.Property<DateTime?>("FCreateDate")
  283. .HasColumnType("datetime(6)")
  284. .HasComment("创建日期");
  285. b.Property<string>("FCreateOrgId_Name")
  286. .HasMaxLength(80)
  287. .HasColumnType("varchar(80)")
  288. .HasComment("创建组织");
  289. b.Property<string>("FCreatorId_Name")
  290. .HasMaxLength(80)
  291. .HasColumnType("varchar(80)")
  292. .HasComment("创建人");
  293. b.Property<string>("FCurrencyId_Name")
  294. .HasMaxLength(80)
  295. .HasColumnType("varchar(80)")
  296. .HasComment("币别");
  297. b.Property<string>("FDSMatchByLot")
  298. .HasMaxLength(1)
  299. .HasColumnType("varchar(1)")
  300. .HasComment("按批号匹配供需");
  301. b.Property<decimal?>("FDailyOutQty")
  302. .HasPrecision(20, 8)
  303. .HasColumnType("decimal(20,8)")
  304. .HasComment("日产量");
  305. b.Property<string>("FDataSource")
  306. .HasMaxLength(10)
  307. .HasColumnType("varchar(10)")
  308. .HasComment("物料来源");
  309. b.Property<string>("FDefBarCodeRuleId_Name")
  310. .HasMaxLength(255)
  311. .HasColumnType("varchar(255)")
  312. .HasComment("默认条码规则");
  313. b.Property<string>("FDefaultLineId_Name")
  314. .HasMaxLength(80)
  315. .HasColumnType("varchar(80)")
  316. .HasComment("默认产线");
  317. b.Property<string>("FDefaultRouting_Name")
  318. .HasMaxLength(255)
  319. .HasColumnType("varchar(255)")
  320. .HasComment("默认工艺路线");
  321. b.Property<string>("FDefaultVendor_Name")
  322. .HasMaxLength(80)
  323. .HasColumnType("varchar(80)")
  324. .HasComment("默认供应商");
  325. b.Property<decimal?>("FDelayExtendDay")
  326. .HasPrecision(20, 8)
  327. .HasColumnType("decimal(20,8)")
  328. .HasComment("延后宽限期");
  329. b.Property<string>("FDescription_2052")
  330. .HasMaxLength(255)
  331. .HasColumnType("varchar(255)")
  332. .HasComment("描述");
  333. b.Property<decimal?>("FEOQ")
  334. .HasPrecision(20, 8)
  335. .HasColumnType("decimal(20,8)")
  336. .HasComment("固定/经济批量");
  337. b.Property<decimal?>("FEWLeadDay")
  338. .HasPrecision(20, 8)
  339. .HasColumnType("decimal(20,8)")
  340. .HasComment("提醒提前期");
  341. b.Property<decimal?>("FEconReOrderQty")
  342. .HasPrecision(20, 8)
  343. .HasColumnType("decimal(20,8)")
  344. .HasComment("经济订货批量");
  345. b.Property<string>("FEnableCyclistQCSTK")
  346. .HasMaxLength(1)
  347. .HasColumnType("varchar(1)")
  348. .HasComment("启用库存周期复检");
  349. b.Property<string>("FEnableCyclistQCSTKEW")
  350. .HasMaxLength(1)
  351. .HasColumnType("varchar(1)")
  352. .HasComment("启用库存周期复检提醒");
  353. b.Property<string>("FErpClsID")
  354. .HasMaxLength(80)
  355. .HasColumnType("varchar(80)")
  356. .HasComment("物料属性");
  357. b.Property<decimal?>("FExpPeriod")
  358. .HasPrecision(20, 8)
  359. .HasColumnType("decimal(20,8)")
  360. .HasComment("保质期");
  361. b.Property<string>("FExpUnit")
  362. .HasMaxLength(10)
  363. .HasColumnType("varchar(10)")
  364. .HasComment("保质期单位");
  365. b.Property<decimal?>("FFIXLOSS")
  366. .HasPrecision(20, 8)
  367. .HasColumnType("decimal(20,8)")
  368. .HasComment("固定损耗");
  369. b.Property<string>("FFeatureItem")
  370. .HasMaxLength(80)
  371. .HasColumnType("varchar(80)")
  372. .HasComment("特征件子项");
  373. b.Property<decimal?>("FFinishReceiptOverRate")
  374. .HasPrecision(20, 8)
  375. .HasColumnType("decimal(20,8)")
  376. .HasComment("入库超收比例(%)");
  377. b.Property<string>("FFinishReceiptShortRate")
  378. .HasMaxLength(255)
  379. .HasColumnType("varchar(255)")
  380. .HasComment("入库欠收比例(%)");
  381. b.Property<decimal?>("FFixLeadTime")
  382. .HasPrecision(20, 8)
  383. .HasColumnType("decimal(20,8)")
  384. .HasComment("固定提前期");
  385. b.Property<decimal?>("FFixLeadTimeType")
  386. .HasPrecision(20, 8)
  387. .HasColumnType("decimal(20,8)")
  388. .HasComment("固定提前期单位");
  389. b.Property<DateTime?>("FForbidDate")
  390. .HasColumnType("datetime(6)")
  391. .HasComment("禁用日期");
  392. b.Property<string>("FForbidResonIsUsed")
  393. .HasMaxLength(1)
  394. .HasColumnType("varchar(1)")
  395. .HasComment("已使用");
  396. b.Property<string>("FForbidReson_2052")
  397. .HasMaxLength(255)
  398. .HasColumnType("varchar(255)")
  399. .HasComment("禁用原因");
  400. b.Property<string>("FForbidStatus")
  401. .HasMaxLength(10)
  402. .HasColumnType("varchar(10)")
  403. .HasComment("禁用状态");
  404. b.Property<string>("FForbidderId_Name")
  405. .HasMaxLength(80)
  406. .HasColumnType("varchar(80)")
  407. .HasComment("禁用人");
  408. b.Property<decimal?>("FGROSSWEIGHT")
  409. .HasPrecision(20, 8)
  410. .HasColumnType("decimal(20,8)")
  411. .HasComment("毛重");
  412. b.Property<decimal?>("FHEIGHT")
  413. .HasPrecision(20, 8)
  414. .HasColumnType("decimal(20,8)")
  415. .HasComment("高");
  416. b.Property<decimal?>("FIFAgentPurPlusRatesPR")
  417. .HasPrecision(20, 8)
  418. .HasColumnType("decimal(20,8)")
  419. .HasComment("代理采购加成比例");
  420. b.Property<string>("FISAFTERSALE")
  421. .HasMaxLength(1)
  422. .HasColumnType("varchar(1)")
  423. .HasComment("启用售后服务");
  424. b.Property<string>("FISMinIssueQty")
  425. .HasMaxLength(1)
  426. .HasColumnType("varchar(1)")
  427. .HasComment("领料考虑最小发料批量");
  428. b.Property<string>("FISPRODUCTFILES")
  429. .HasMaxLength(1)
  430. .HasColumnType("varchar(1)")
  431. .HasComment("生成产品档案");
  432. b.Property<string>("FISWARRANTED")
  433. .HasMaxLength(1)
  434. .HasColumnType("varchar(1)")
  435. .HasComment("是否保修");
  436. b.Property<string>("FIncQcSchemeId_Name")
  437. .HasMaxLength(255)
  438. .HasColumnType("varchar(255)")
  439. .HasComment("质检方案");
  440. b.Property<string>("FIncSampSchemeId_Name")
  441. .HasMaxLength(255)
  442. .HasColumnType("varchar(255)")
  443. .HasComment("抽样方案");
  444. b.Property<decimal?>("FIncreaseQty")
  445. .HasPrecision(20, 8)
  446. .HasColumnType("decimal(20,8)")
  447. .HasComment("最小包装量");
  448. b.Property<string>("FInspectGroupId_Name")
  449. .HasMaxLength(80)
  450. .HasColumnType("varchar(80)")
  451. .HasComment("质检组");
  452. b.Property<string>("FInspectorId_Name")
  453. .HasMaxLength(80)
  454. .HasColumnType("varchar(80)")
  455. .HasComment("质检员");
  456. b.Property<string>("FIsATPCheck")
  457. .HasMaxLength(1)
  458. .HasColumnType("varchar(1)")
  459. .HasComment("ATP检查");
  460. b.Property<string>("FIsAffectCost1")
  461. .HasMaxLength(1)
  462. .HasColumnType("varchar(1)")
  463. .HasComment("影响出库成本");
  464. b.Property<string>("FIsAffectPlan1")
  465. .HasMaxLength(1)
  466. .HasColumnType("varchar(1)")
  467. .HasComment("影响计划");
  468. b.Property<string>("FIsAffectPrice1")
  469. .HasMaxLength(1)
  470. .HasColumnType("varchar(1)")
  471. .HasComment("影响价格");
  472. b.Property<string>("FIsBatchManage")
  473. .HasMaxLength(1)
  474. .HasColumnType("varchar(1)")
  475. .HasComment("启用批号管理");
  476. b.Property<string>("FIsCoby")
  477. .HasMaxLength(1)
  478. .HasColumnType("varchar(1)")
  479. .HasComment("可为联副产品");
  480. b.Property<string>("FIsComControl")
  481. .HasMaxLength(1)
  482. .HasColumnType("varchar(1)")
  483. .HasComment("组合控制");
  484. b.Property<string>("FIsCompleteSet")
  485. .HasMaxLength(1)
  486. .HasColumnType("varchar(1)")
  487. .HasComment("是否齐套件");
  488. b.Property<string>("FIsCycleCounting")
  489. .HasMaxLength(1)
  490. .HasColumnType("varchar(1)")
  491. .HasComment("启用盘点周期");
  492. b.Property<string>("FIsECN")
  493. .HasMaxLength(1)
  494. .HasColumnType("varchar(1)")
  495. .HasComment("启用ECN");
  496. b.Property<string>("FIsEnable1")
  497. .HasMaxLength(1)
  498. .HasColumnType("varchar(1)")
  499. .HasComment("启用");
  500. b.Property<string>("FIsEnableMaxStock")
  501. .HasMaxLength(1)
  502. .HasColumnType("varchar(1)")
  503. .HasComment("启用最大库存");
  504. b.Property<string>("FIsEnableMinStock")
  505. .HasMaxLength(1)
  506. .HasColumnType("varchar(1)")
  507. .HasComment("启用最小库存");
  508. b.Property<string>("FIsEnableReOrder")
  509. .HasMaxLength(1)
  510. .HasColumnType("varchar(1)")
  511. .HasComment("启用再订货点");
  512. b.Property<string>("FIsEnableSafeStock")
  513. .HasMaxLength(1)
  514. .HasColumnType("varchar(1)")
  515. .HasComment("启用安全库存");
  516. b.Property<string>("FIsEnableSchedule")
  517. .HasMaxLength(1)
  518. .HasColumnType("varchar(1)")
  519. .HasComment("启用日排产");
  520. b.Property<string>("FIsExpParToFlot")
  521. .HasMaxLength(1)
  522. .HasColumnType("varchar(1)")
  523. .HasComment("批号附属信息");
  524. b.Property<string>("FIsFirstInspect")
  525. .HasMaxLength(1)
  526. .HasColumnType("varchar(1)")
  527. .HasComment("产品首检");
  528. b.Property<string>("FIsInventory")
  529. .HasMaxLength(1)
  530. .HasColumnType("varchar(1)")
  531. .HasComment("允许库存");
  532. b.Property<string>("FIsKFPeriod")
  533. .HasMaxLength(1)
  534. .HasColumnType("varchar(1)")
  535. .HasComment("启用保质期管理");
  536. b.Property<string>("FIsKitting")
  537. .HasMaxLength(1)
  538. .HasColumnType("varchar(1)")
  539. .HasComment("是否关键件");
  540. b.Property<string>("FIsLockStock")
  541. .HasMaxLength(1)
  542. .HasColumnType("varchar(1)")
  543. .HasComment("可锁库");
  544. b.Property<string>("FIsMainPrd")
  545. .HasMaxLength(1)
  546. .HasColumnType("varchar(1)")
  547. .HasComment("可为主产品");
  548. b.Property<string>("FIsMrpComBill")
  549. .HasMaxLength(1)
  550. .HasColumnType("varchar(1)")
  551. .HasComment("MRP计算是否按单合并");
  552. b.Property<string>("FIsMrpComReq")
  553. .HasMaxLength(1)
  554. .HasColumnType("varchar(1)")
  555. .HasComment("MRP计算是否合并需求");
  556. b.Property<string>("FIsMustCounting")
  557. .HasMaxLength(1)
  558. .HasColumnType("varchar(1)")
  559. .HasComment("必盘");
  560. b.Property<string>("FIsPR")
  561. .HasMaxLength(1)
  562. .HasColumnType("varchar(1)")
  563. .HasComment("需要请购");
  564. b.Property<string>("FIsProductLine")
  565. .HasMaxLength(1)
  566. .HasColumnType("varchar(1)")
  567. .HasComment("生产线生产");
  568. b.Property<string>("FIsPurchase")
  569. .HasMaxLength(1)
  570. .HasColumnType("varchar(1)")
  571. .HasComment("允许采购");
  572. b.Property<string>("FIsQuota")
  573. .HasMaxLength(1)
  574. .HasColumnType("varchar(1)")
  575. .HasComment("配额管理");
  576. b.Property<string>("FIsReturn")
  577. .HasMaxLength(1)
  578. .HasColumnType("varchar(1)")
  579. .HasComment("允许退货");
  580. b.Property<string>("FIsReturnMaterial")
  581. .HasMaxLength(1)
  582. .HasColumnType("varchar(1)")
  583. .HasComment("允许退料");
  584. b.Property<string>("FIsReturnPart")
  585. .HasMaxLength(1)
  586. .HasColumnType("varchar(1)")
  587. .HasComment("部件可退");
  588. b.Property<string>("FIsSNCarryToParent")
  589. .HasMaxLength(1)
  590. .HasColumnType("varchar(1)")
  591. .HasComment("序列号携带到父项");
  592. b.Property<string>("FIsSNManage")
  593. .HasMaxLength(1)
  594. .HasColumnType("varchar(1)")
  595. .HasComment("库存管理");
  596. b.Property<string>("FIsSNPRDTracy")
  597. .HasMaxLength(1)
  598. .HasColumnType("varchar(1)")
  599. .HasComment("生产追溯");
  600. b.Property<string>("FIsSale")
  601. .HasMaxLength(1)
  602. .HasColumnType("varchar(1)")
  603. .HasComment("允许销售");
  604. b.Property<string>("FIsSourceControl")
  605. .HasMaxLength(1)
  606. .HasColumnType("varchar(1)")
  607. .HasComment("货源控制");
  608. b.Property<string>("FIsSubContract")
  609. .HasMaxLength(1)
  610. .HasColumnType("varchar(1)")
  611. .HasComment("允许委外");
  612. b.Property<string>("FIsTaxEnjoy")
  613. .HasMaxLength(1)
  614. .HasColumnType("varchar(1)")
  615. .HasComment("享受税收优惠政策");
  616. b.Property<string>("FIsVmiBusiness")
  617. .HasMaxLength(1)
  618. .HasColumnType("varchar(1)")
  619. .HasComment("VMI业务");
  620. b.Property<string>("FIssueType")
  621. .HasMaxLength(10)
  622. .HasColumnType("varchar(10)")
  623. .HasComment("发料方式");
  624. b.Property<decimal?>("FLENGTH")
  625. .HasPrecision(20, 8)
  626. .HasColumnType("decimal(20,8)")
  627. .HasComment("长");
  628. b.Property<decimal?>("FLOSSPERCENT")
  629. .HasPrecision(20, 8)
  630. .HasColumnType("decimal(20,8)")
  631. .HasComment("变动损耗率(%)");
  632. b.Property<decimal?>("FLeadExtendDay")
  633. .HasPrecision(20, 8)
  634. .HasColumnType("decimal(20,8)")
  635. .HasComment("提前宽限期");
  636. b.Property<string>("FMaterialGroup")
  637. .HasMaxLength(80)
  638. .HasColumnType("varchar(80)")
  639. .HasComment("物料分组编码");
  640. b.Property<string>("FMaterialGroup_Name")
  641. .HasMaxLength(80)
  642. .HasColumnType("varchar(80)")
  643. .HasComment("物料分组");
  644. b.Property<decimal?>("FMaxPOQty")
  645. .HasPrecision(20, 8)
  646. .HasColumnType("decimal(20,8)")
  647. .HasComment("最大订货量");
  648. b.Property<decimal?>("FMaxStock")
  649. .HasPrecision(20, 8)
  650. .HasColumnType("decimal(20,8)")
  651. .HasComment("最大库存");
  652. b.Property<string>("FMdlId_Name")
  653. .HasMaxLength(80)
  654. .HasColumnType("varchar(80)")
  655. .HasComment("产品模型");
  656. b.Property<string>("FMdlMaterialId_Name")
  657. .HasMaxLength(80)
  658. .HasColumnType("varchar(80)")
  659. .HasComment("模型物料");
  660. b.Property<string>("FMfgPolicyId_Name")
  661. .HasMaxLength(80)
  662. .HasColumnType("varchar(80)")
  663. .HasComment("制造策略");
  664. b.Property<decimal?>("FMinIssueQty")
  665. .HasPrecision(20, 8)
  666. .HasColumnType("decimal(20,8)")
  667. .HasComment("最小发料批量");
  668. b.Property<string>("FMinIssueUnitId_Name")
  669. .HasMaxLength(10)
  670. .HasColumnType("varchar(10)")
  671. .HasComment("最小发料批量单位");
  672. b.Property<decimal?>("FMinPOQty")
  673. .HasPrecision(20, 8)
  674. .HasColumnType("decimal(20,8)")
  675. .HasComment("最小订货量");
  676. b.Property<decimal?>("FMinPackCount")
  677. .HasPrecision(20, 8)
  678. .HasColumnType("decimal(20,8)")
  679. .HasComment("最小包装数");
  680. b.Property<decimal?>("FMinSplitQty")
  681. .HasPrecision(20, 8)
  682. .HasColumnType("decimal(20,8)")
  683. .HasComment("最小拆分数量");
  684. b.Property<decimal?>("FMinStock")
  685. .HasPrecision(20, 8)
  686. .HasColumnType("decimal(20,8)")
  687. .HasComment("最小库存");
  688. b.Property<string>("FMnemonicCode")
  689. .HasMaxLength(80)
  690. .HasColumnType("varchar(80)")
  691. .HasComment("助记码");
  692. b.Property<string>("FModifierId_Name")
  693. .HasMaxLength(80)
  694. .HasColumnType("varchar(80)")
  695. .HasComment("修改人");
  696. b.Property<DateTime?>("FModifyDate")
  697. .HasColumnType("datetime(6)")
  698. .HasComment("修改日期");
  699. b.Property<decimal?>("FNETWEIGHT")
  700. .HasPrecision(20, 8)
  701. .HasColumnType("decimal(20,8)")
  702. .HasComment("净重");
  703. b.Property<string>("FName_2052")
  704. .HasMaxLength(80)
  705. .HasColumnType("varchar(80)")
  706. .HasComment("名称");
  707. b.Property<string>("FNumber")
  708. .HasMaxLength(80)
  709. .HasColumnType("varchar(80)")
  710. .HasComment("编码");
  711. b.Property<string>("FOldNumber")
  712. .HasMaxLength(80)
  713. .HasColumnType("varchar(80)")
  714. .HasComment("旧物料编码");
  715. b.Property<decimal?>("FOnlineLife")
  716. .HasPrecision(20, 8)
  717. .HasColumnType("decimal(20,8)")
  718. .HasComment("在架寿命期");
  719. b.Property<decimal?>("FOrderIntervalTime")
  720. .HasPrecision(20, 8)
  721. .HasColumnType("decimal(20,8)")
  722. .HasComment("订货间隔期");
  723. b.Property<string>("FOrderIntervalTimeType")
  724. .HasMaxLength(10)
  725. .HasColumnType("varchar(10)")
  726. .HasComment("订货间隔期单位");
  727. b.Property<string>("FOrderPolicy")
  728. .HasMaxLength(80)
  729. .HasColumnType("varchar(80)")
  730. .HasComment("订货策略");
  731. b.Property<decimal?>("FOrderQty")
  732. .HasPrecision(20, 10)
  733. .HasColumnType("decimal(20,10)")
  734. .HasComment("起订量");
  735. b.Property<string>("FOrgTrustBillType_Name")
  736. .HasMaxLength(10)
  737. .HasColumnType("varchar(10)")
  738. .HasComment("组织间受托类型");
  739. b.Property<string>("FOutLmtUnit")
  740. .HasMaxLength(10)
  741. .HasColumnType("varchar(10)")
  742. .HasComment("超发控制单位");
  743. b.Property<decimal?>("FOutStockLmtH")
  744. .HasPrecision(20, 8)
  745. .HasColumnType("decimal(20,8)")
  746. .HasComment("超发上限(%)");
  747. b.Property<decimal?>("FOutStockLmtL")
  748. .HasPrecision(20, 8)
  749. .HasColumnType("decimal(20,8)")
  750. .HasComment("超发下限(%)");
  751. b.Property<string>("FOverControlMode")
  752. .HasMaxLength(10)
  753. .HasColumnType("varchar(10)")
  754. .HasComment("超发控制方式");
  755. b.Property<string>("FPOBillTypeId_Name")
  756. .HasMaxLength(10)
  757. .HasColumnType("varchar(10)")
  758. .HasComment("采购类型");
  759. b.Property<decimal?>("FPerUnitStandHour")
  760. .HasPrecision(20, 8)
  761. .HasColumnType("decimal(20,8)")
  762. .HasComment("标准工时");
  763. b.Property<string>("FPickBinId_FF100002")
  764. .HasMaxLength(80)
  765. .HasColumnType("varchar(80)")
  766. .HasComment("发料仓位.客户.编码");
  767. b.Property<string>("FPickBinId_FF100002_Name")
  768. .HasMaxLength(80)
  769. .HasColumnType("varchar(80)")
  770. .HasComment("发料仓位.客户.名称");
  771. b.Property<string>("FPickBinId_FF100003")
  772. .HasMaxLength(80)
  773. .HasColumnType("varchar(80)")
  774. .HasComment("发料仓位.供应商.编码");
  775. b.Property<string>("FPickBinId_FF100003_Name")
  776. .HasMaxLength(80)
  777. .HasColumnType("varchar(80)")
  778. .HasComment("发料仓位.供应商.名称");
  779. b.Property<string>("FPickBinId_FF100004")
  780. .HasMaxLength(80)
  781. .HasColumnType("varchar(80)")
  782. .HasComment("发料仓位.服务机客户.编码");
  783. b.Property<string>("FPickBinId_FF100004_Name")
  784. .HasMaxLength(80)
  785. .HasColumnType("varchar(80)")
  786. .HasComment("发料仓位.服务机客户.名称");
  787. b.Property<string>("FPickStockId_Name")
  788. .HasMaxLength(80)
  789. .HasColumnType("varchar(80)")
  790. .HasComment("发料仓库");
  791. b.Property<string>("FPickStockLoc")
  792. .HasMaxLength(80)
  793. .HasColumnType("varchar(80)")
  794. .HasComment("发料仓位");
  795. b.Property<decimal?>("FPlanBatchSplitQty")
  796. .HasPrecision(20, 10)
  797. .HasColumnType("decimal(20,10)")
  798. .HasComment("拆分批量");
  799. b.Property<string>("FPlanGroupId_Name")
  800. .HasMaxLength(80)
  801. .HasColumnType("varchar(80)")
  802. .HasComment("计划组");
  803. b.Property<string>("FPlanIdent_Name")
  804. .HasMaxLength(80)
  805. .HasColumnType("varchar(80)")
  806. .HasComment("计划标识");
  807. b.Property<decimal?>("FPlanIntervalsDays")
  808. .HasPrecision(20, 8)
  809. .HasColumnType("decimal(20,8)")
  810. .HasComment("批量拆分间隔天数");
  811. b.Property<decimal?>("FPlanOffsetTime")
  812. .HasPrecision(20, 8)
  813. .HasColumnType("decimal(20,8)")
  814. .HasComment("偏置时间");
  815. b.Property<string>("FPlanOffsetTimeType")
  816. .HasMaxLength(10)
  817. .HasColumnType("varchar(10)")
  818. .HasComment("时间单位");
  819. b.Property<decimal?>("FPlanSafeStockQty")
  820. .HasPrecision(20, 8)
  821. .HasColumnType("decimal(20,8)")
  822. .HasComment("安全库存");
  823. b.Property<decimal?>("FPlanTimeZone")
  824. .HasPrecision(20, 8)
  825. .HasColumnType("decimal(20,8)")
  826. .HasComment("计划时界");
  827. b.Property<string>("FPlanWorkshop_Name")
  828. .HasMaxLength(80)
  829. .HasColumnType("varchar(80)")
  830. .HasComment("计划区");
  831. b.Property<string>("FPlanerID_Name")
  832. .HasMaxLength(80)
  833. .HasColumnType("varchar(80)")
  834. .HasComment("计划员");
  835. b.Property<string>("FPlanningStrategy")
  836. .HasMaxLength(10)
  837. .HasColumnType("varchar(10)")
  838. .HasComment("计划策略");
  839. b.Property<decimal?>("FPrintCount")
  840. .HasPrecision(20, 8)
  841. .HasColumnType("decimal(20,8)")
  842. .HasComment("重复打印数");
  843. b.Property<string>("FProScheTrackId_Name")
  844. .HasMaxLength(80)
  845. .HasColumnType("varchar(80)")
  846. .HasComment("订单进度分组");
  847. b.Property<string>("FProduceBillType_Name")
  848. .HasMaxLength(10)
  849. .HasColumnType("varchar(10)")
  850. .HasComment("生产类型");
  851. b.Property<string>("FProduceUnitId_Name")
  852. .HasMaxLength(10)
  853. .HasColumnType("varchar(10)")
  854. .HasComment("生产单位");
  855. b.Property<string>("FProductLine_Name")
  856. .HasMaxLength(255)
  857. .HasColumnType("varchar(255)")
  858. .HasComment("产品系列");
  859. b.Property<string>("FPurchaseGroupId_Name")
  860. .HasMaxLength(80)
  861. .HasColumnType("varchar(80)")
  862. .HasComment("采购组");
  863. b.Property<string>("FPurchaseOrgId_Name")
  864. .HasMaxLength(80)
  865. .HasColumnType("varchar(80)")
  866. .HasComment("采购组织");
  867. b.Property<string>("FPurchasePriceUnitId_Name")
  868. .HasMaxLength(10)
  869. .HasColumnType("varchar(10)")
  870. .HasComment("采购计价单位");
  871. b.Property<string>("FPurchaseUnitId_Name")
  872. .HasMaxLength(10)
  873. .HasColumnType("varchar(10)")
  874. .HasComment("采购单位");
  875. b.Property<string>("FPurchaserId_Name")
  876. .HasMaxLength(80)
  877. .HasColumnType("varchar(80)")
  878. .HasComment("采购员");
  879. b.Property<string>("FQtyFactorId_Name")
  880. .HasMaxLength(80)
  881. .HasColumnType("varchar(80)")
  882. .HasComment("数量负荷系数");
  883. b.Property<string>("FQuotaType")
  884. .HasMaxLength(80)
  885. .HasColumnType("varchar(80)")
  886. .HasComment("配额方式");
  887. b.Property<decimal?>("FReOrderGood")
  888. .HasPrecision(20, 8)
  889. .HasColumnType("decimal(20,8)")
  890. .HasComment("再订货点");
  891. b.Property<decimal?>("FReceiveAdvanceDays")
  892. .HasPrecision(20, 8)
  893. .HasColumnType("decimal(20,8)")
  894. .HasComment("收货提前天数");
  895. b.Property<decimal?>("FReceiveDelayDays")
  896. .HasPrecision(20, 8)
  897. .HasColumnType("decimal(20,8)")
  898. .HasComment("收货延迟天数");
  899. b.Property<decimal?>("FReceiveMaxScale")
  900. .HasPrecision(20, 8)
  901. .HasColumnType("decimal(20,8)")
  902. .HasComment("收货上限比例(%)");
  903. b.Property<decimal?>("FReceiveMinScale")
  904. .HasPrecision(20, 8)
  905. .HasColumnType("decimal(20,8)")
  906. .HasComment("收货下限比例(%)");
  907. b.Property<decimal?>("FRefCost")
  908. .HasPrecision(20, 8)
  909. .HasColumnType("decimal(20,8)")
  910. .HasComment("参考成本");
  911. b.Property<decimal?>("FRequestTimeZone")
  912. .HasPrecision(20, 8)
  913. .HasColumnType("decimal(20,8)")
  914. .HasComment("需求时界");
  915. b.Property<string>("FReserveType")
  916. .HasMaxLength(10)
  917. .HasColumnType("varchar(10)")
  918. .HasComment("预留类型");
  919. b.Property<string>("FSNCodeRule_Name")
  920. .HasMaxLength(80)
  921. .HasColumnType("varchar(80)")
  922. .HasComment("序列号编码规则");
  923. b.Property<string>("FSNUnit_Name")
  924. .HasMaxLength(10)
  925. .HasColumnType("varchar(10)")
  926. .HasComment("序列号单位");
  927. b.Property<decimal?>("FSafeStock")
  928. .HasPrecision(20, 8)
  929. .HasColumnType("decimal(20,8)")
  930. .HasComment("安全库存");
  931. b.Property<string>("FSalGroup_Name")
  932. .HasMaxLength(80)
  933. .HasColumnType("varchar(80)")
  934. .HasComment("销售分组");
  935. b.Property<string>("FSalePriceUnitId_Name")
  936. .HasMaxLength(10)
  937. .HasColumnType("varchar(10)")
  938. .HasComment("销售计价单位");
  939. b.Property<string>("FSaleUnitId_Name")
  940. .HasMaxLength(10)
  941. .HasColumnType("varchar(10)")
  942. .HasComment("销售单位");
  943. b.Property<string>("FSpecification_2052")
  944. .HasMaxLength(255)
  945. .HasColumnType("varchar(255)")
  946. .HasComment("规格型号");
  947. b.Property<string>("FStandHourUnitId")
  948. .HasMaxLength(10)
  949. .HasColumnType("varchar(10)")
  950. .HasComment("工时单位");
  951. b.Property<decimal?>("FStdLaborPrePareTime")
  952. .HasPrecision(20, 8)
  953. .HasColumnType("decimal(20,8)")
  954. .HasComment("标准人员准备工时");
  955. b.Property<decimal?>("FStdLaborProcessTime")
  956. .HasPrecision(20, 8)
  957. .HasColumnType("decimal(20,8)")
  958. .HasComment("标准人员实作工时");
  959. b.Property<decimal?>("FStdMachinePrepareTime")
  960. .HasPrecision(20, 8)
  961. .HasColumnType("decimal(20,8)")
  962. .HasComment("标准机器准备工时");
  963. b.Property<decimal?>("FStdMachineProcessTime")
  964. .HasPrecision(20, 8)
  965. .HasColumnType("decimal(20,8)")
  966. .HasComment("标准机器实作工时");
  967. b.Property<decimal?>("FStockCycle")
  968. .HasPrecision(20, 8)
  969. .HasColumnType("decimal(20,8)")
  970. .HasComment("复检周期");
  971. b.Property<string>("FStockId_Name")
  972. .HasMaxLength(80)
  973. .HasColumnType("varchar(80)")
  974. .HasComment("仓库");
  975. b.Property<string>("FStockLoc")
  976. .HasMaxLength(80)
  977. .HasColumnType("varchar(80)")
  978. .HasComment("仓位");
  979. b.Property<string>("FStockPlaceId_FF100002")
  980. .HasMaxLength(80)
  981. .HasColumnType("varchar(80)")
  982. .HasComment("仓位.客户.编码");
  983. b.Property<string>("FStockPlaceId_FF100002_Name")
  984. .HasMaxLength(80)
  985. .HasColumnType("varchar(80)")
  986. .HasComment("仓位.客户.名称");
  987. b.Property<string>("FStockPlaceId_FF100003")
  988. .HasMaxLength(80)
  989. .HasColumnType("varchar(80)")
  990. .HasComment("仓位.供应商.编码");
  991. b.Property<string>("FStockPlaceId_FF100003_Name")
  992. .HasMaxLength(80)
  993. .HasColumnType("varchar(80)")
  994. .HasComment("仓位.供应商.名称");
  995. b.Property<string>("FStockPlaceId_FF100004")
  996. .HasMaxLength(80)
  997. .HasColumnType("varchar(80)")
  998. .HasComment("仓位.服务机客户.编码");
  999. b.Property<string>("FStockPlaceId_FF100004_Name")
  1000. .HasMaxLength(80)
  1001. .HasColumnType("varchar(80)")
  1002. .HasComment("仓位.服务机客户.名称");
  1003. b.Property<string>("FStoreUnitID_Name")
  1004. .HasMaxLength(10)
  1005. .HasColumnType("varchar(10)")
  1006. .HasComment("库存单位");
  1007. b.Property<string>("FSubBillType_Name")
  1008. .HasMaxLength(10)
  1009. .HasColumnType("varchar(10)")
  1010. .HasComment("委外类型");
  1011. b.Property<string>("FSubconPriceUnitId_Name")
  1012. .HasMaxLength(10)
  1013. .HasColumnType("varchar(10)")
  1014. .HasComment("委外计价单位");
  1015. b.Property<string>("FSubconUnitId_Name")
  1016. .HasMaxLength(10)
  1017. .HasColumnType("varchar(10)")
  1018. .HasComment("委外单位");
  1019. b.Property<string>("FSuite")
  1020. .HasMaxLength(1)
  1021. .HasColumnType("varchar(1)")
  1022. .HasComment("套件");
  1023. b.Property<string>("FSupplySourceId_Name")
  1024. .HasMaxLength(80)
  1025. .HasColumnType("varchar(80)")
  1026. .HasComment("供应来源");
  1027. b.Property<string>("FTaxCategoryCodeId_Name")
  1028. .HasMaxLength(80)
  1029. .HasColumnType("varchar(80)")
  1030. .HasComment("税收分类编码");
  1031. b.Property<string>("FTaxDiscountsType")
  1032. .HasMaxLength(80)
  1033. .HasColumnType("varchar(80)")
  1034. .HasComment("税收优惠政策类型");
  1035. b.Property<string>("FTaxRateId_Name")
  1036. .HasMaxLength(80)
  1037. .HasColumnType("varchar(80)")
  1038. .HasComment("默认税率");
  1039. b.Property<string>("FTaxType_Name")
  1040. .HasMaxLength(80)
  1041. .HasColumnType("varchar(80)")
  1042. .HasComment("税分类");
  1043. b.Property<string>("FTimeFactorId_Name")
  1044. .HasMaxLength(80)
  1045. .HasColumnType("varchar(80)")
  1046. .HasComment("时间紧迫系数");
  1047. b.Property<string>("FUnValidateExpQty")
  1048. .HasMaxLength(1)
  1049. .HasColumnType("varchar(1)")
  1050. .HasComment("不参与可发量统计");
  1051. b.Property<string>("FUseOrgId_Name")
  1052. .HasMaxLength(80)
  1053. .HasColumnType("varchar(80)")
  1054. .HasComment("使用组织");
  1055. b.Property<string>("FUseStatus")
  1056. .HasMaxLength(255)
  1057. .HasColumnType("varchar(255)")
  1058. .HasComment("数据状态");
  1059. b.Property<decimal?>("FVOLUME")
  1060. .HasPrecision(20, 8)
  1061. .HasColumnType("decimal(20,8)")
  1062. .HasComment("体积");
  1063. b.Property<string>("FVOLUMEUNITID_Name")
  1064. .HasMaxLength(10)
  1065. .HasColumnType("varchar(10)")
  1066. .HasComment("尺寸单位");
  1067. b.Property<decimal?>("FVarLeadTime")
  1068. .HasPrecision(20, 8)
  1069. .HasColumnType("decimal(20,8)")
  1070. .HasComment("变动提前期");
  1071. b.Property<decimal?>("FVarLeadTimeLotSize")
  1072. .HasPrecision(20, 8)
  1073. .HasColumnType("decimal(20,8)")
  1074. .HasComment("变动提前期批量");
  1075. b.Property<string>("FVarLeadTimeType")
  1076. .HasMaxLength(10)
  1077. .HasColumnType("varchar(10)")
  1078. .HasComment("变动提前期单位");
  1079. b.Property<decimal?>("FWARRANTY")
  1080. .HasPrecision(20, 8)
  1081. .HasColumnType("decimal(20,8)")
  1082. .HasComment("保修期");
  1083. b.Property<string>("FWARRANTYUNITID")
  1084. .HasMaxLength(10)
  1085. .HasColumnType("varchar(10)")
  1086. .HasComment("保修期单位");
  1087. b.Property<string>("FWEIGHTUNITID_Name")
  1088. .HasMaxLength(10)
  1089. .HasColumnType("varchar(10)")
  1090. .HasComment("重量单位");
  1091. b.Property<decimal?>("FWIDTH")
  1092. .HasPrecision(20, 8)
  1093. .HasColumnType("decimal(20,8)")
  1094. .HasComment("宽");
  1095. b.Property<string>("FWorkShopId_Name")
  1096. .HasMaxLength(80)
  1097. .HasColumnType("varchar(80)")
  1098. .HasComment("生产车间");
  1099. b.Property<decimal?>("FWriteOffQty")
  1100. .HasPrecision(20, 8)
  1101. .HasColumnType("decimal(20,8)")
  1102. .HasComment("冲销数量");
  1103. b.Property<string>("F_BZGG")
  1104. .HasMaxLength(255)
  1105. .HasColumnType("varchar(255)")
  1106. .HasComment("包装规格");
  1107. b.Property<string>("F_CPFL_Name")
  1108. .HasMaxLength(80)
  1109. .HasColumnType("varchar(80)")
  1110. .HasComment("产品分类");
  1111. b.Property<string>("F_CPPLLB")
  1112. .HasMaxLength(80)
  1113. .HasColumnType("varchar(80)")
  1114. .HasComment("产品披露类别");
  1115. b.Property<string>("F_CPX_Name")
  1116. .HasMaxLength(80)
  1117. .HasColumnType("varchar(80)")
  1118. .HasComment("产品线");
  1119. b.Property<string>("F_DYDWLX")
  1120. .HasMaxLength(80)
  1121. .HasColumnType("varchar(80)")
  1122. .HasComment("电压/电网类型");
  1123. b.Property<string>("F_DZLSX")
  1124. .HasMaxLength(80)
  1125. .HasColumnType("varchar(80)")
  1126. .HasComment("电子料属性");
  1127. b.Property<string>("F_GLD_Name")
  1128. .HasMaxLength(80)
  1129. .HasColumnType("varchar(80)")
  1130. .HasComment("功率段");
  1131. b.Property<DateTime?>("F_GSZHGGRQ")
  1132. .HasColumnType("datetime(6)")
  1133. .HasComment("工时最后更改日期");
  1134. b.Property<string>("F_GSZHGGR_Name")
  1135. .HasMaxLength(80)
  1136. .HasColumnType("varchar(80)")
  1137. .HasComment("工时最后更改人");
  1138. b.Property<string>("F_GWLH_Name")
  1139. .HasMaxLength(80)
  1140. .HasColumnType("varchar(80)")
  1141. .HasComment("根物料号");
  1142. b.Property<string>("F_GYS")
  1143. .HasMaxLength(255)
  1144. .HasColumnType("varchar(255)")
  1145. .HasComment("供应商");
  1146. b.Property<decimal?>("F_HLBZL")
  1147. .HasPrecision(20, 8)
  1148. .HasColumnType("decimal(20,8)")
  1149. .HasComment("回料包装量");
  1150. b.Property<string>("F_JCYY")
  1151. .HasMaxLength(255)
  1152. .HasColumnType("varchar(255)")
  1153. .HasComment("禁采原因");
  1154. b.Property<string>("F_JWLBMU8")
  1155. .HasMaxLength(80)
  1156. .HasColumnType("varchar(80)")
  1157. .HasComment("旧物料编码U8");
  1158. b.Property<string>("F_PP_Name")
  1159. .HasMaxLength(255)
  1160. .HasColumnType("varchar(255)")
  1161. .HasComment("品牌");
  1162. b.Property<string>("F_SFJLPCH")
  1163. .HasMaxLength(1)
  1164. .HasColumnType("varchar(1)")
  1165. .HasComment("是否记录批次号");
  1166. b.Property<string>("F_SMZQ")
  1167. .HasMaxLength(80)
  1168. .HasColumnType("varchar(80)")
  1169. .HasComment("料号生命周期");
  1170. b.Property<DateTime?>("F_SMZQZHGGRQ")
  1171. .HasColumnType("datetime(6)")
  1172. .HasComment("生命周期最后更改日期");
  1173. b.Property<string>("F_SMZQZHGGR_Name")
  1174. .HasMaxLength(80)
  1175. .HasColumnType("varchar(80)")
  1176. .HasComment("生命周期最后更改人");
  1177. b.Property<DateTime?>("F_TJZLZHGGRQ")
  1178. .HasColumnType("datetime(6)")
  1179. .HasComment("体积重量最后更改日期");
  1180. b.Property<string>("F_TJZLZHGGR_Name")
  1181. .HasMaxLength(80)
  1182. .HasColumnType("varchar(80)")
  1183. .HasComment("体积重量最后更改人");
  1184. b.Property<string>("F_WLLX")
  1185. .HasMaxLength(10)
  1186. .HasColumnType("varchar(10)")
  1187. .HasComment("物料类型");
  1188. b.Property<string>("F_WLSQR_Name")
  1189. .HasMaxLength(80)
  1190. .HasColumnType("varchar(80)")
  1191. .HasComment("物料申请人");
  1192. b.Property<string>("F_XSXH_2052")
  1193. .HasMaxLength(80)
  1194. .HasColumnType("varchar(80)")
  1195. .HasComment("SAJ型号");
  1196. b.Property<string>("F_YWLX")
  1197. .HasMaxLength(80)
  1198. .HasColumnType("varchar(80)")
  1199. .HasComment("业务类型");
  1200. b.Property<string>("F_YXQG")
  1201. .HasMaxLength(1)
  1202. .HasColumnType("varchar(1)")
  1203. .HasComment("允许请购");
  1204. b.Property<string>("F_YXSL")
  1205. .HasMaxLength(1)
  1206. .HasColumnType("varchar(1)")
  1207. .HasComment("允许收料");
  1208. b.Property<string>("F_YZSG")
  1209. .HasMaxLength(10)
  1210. .HasColumnType("varchar(10)")
  1211. .HasComment("已终审过");
  1212. b.Property<decimal?>("F_ZJCSGS")
  1213. .HasPrecision(20, 8)
  1214. .HasColumnType("decimal(20,8)")
  1215. .HasComment("整机测试工时");
  1216. b.Property<string>("F_ZJGLWLH_Name")
  1217. .HasMaxLength(80)
  1218. .HasColumnType("varchar(80)")
  1219. .HasComment("直接关联物料号");
  1220. b.Property<decimal?>("F_ZJZB_Name")
  1221. .HasPrecision(20, 8)
  1222. .HasColumnType("decimal(20,8)")
  1223. .HasComment("整机质保(月)");
  1224. b.Property<decimal?>("F_ZYGS")
  1225. .HasPrecision(20, 8)
  1226. .HasColumnType("decimal(20,8)")
  1227. .HasComment("作业工时");
  1228. b.HasKey("Id");
  1229. b.ToTable("in_kd_material", (string)null);
  1230. b.HasComment("物料");
  1231. });
  1232. #pragma warning restore 612, 618
  1233. }
  1234. }
  1235. }