20230323150446_Test.Designer.cs 69 KB

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