BusinessExtMigrationDbContextModelSnapshot.cs 64 KB

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