You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

548 lines
16 KiB

2 years ago
  1. using System;
  2. using System.Linq;
  3. using System.Text;
  4. using SqlSugar;
  5. namespace Entity.Sugar
  6. {
  7. ///<summary>
  8. ///
  9. ///</summary>
  10. [SugarTable("OTB_OPM_BillsBak")]
  11. public partial class OTB_OPM_BillsBak : ModelContext
  12. {
  13. public OTB_OPM_BillsBak(){
  14. }
  15. /// <summary>
  16. /// Desc:
  17. /// Default:
  18. /// Nullable:False
  19. /// </summary>
  20. [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
  21. public int SN {get;set;}
  22. public const string CN_SN = "SN";
  23. /// <summary>
  24. /// Desc:
  25. /// Default:
  26. /// Nullable:False
  27. /// </summary>
  28. public string BillNO {get;set;}
  29. public const string CN_BILLNO = "BillNO";
  30. /// <summary>
  31. /// Desc:
  32. /// Default:
  33. /// Nullable:False
  34. /// </summary>
  35. public string CheckDate {get;set;}
  36. public const string CN_CHECKDATE = "CheckDate";
  37. /// <summary>
  38. /// Desc:
  39. /// Default:
  40. /// Nullable:False
  41. /// </summary>
  42. public string BillType {get;set;}
  43. public const string CN_BILLTYPE = "BillType";
  44. /// <summary>
  45. /// Desc:
  46. /// Default:
  47. /// Nullable:False
  48. /// </summary>
  49. public string CustomerCode {get;set;}
  50. public const string CN_CUSTOMERCODE = "CustomerCode";
  51. /// <summary>
  52. /// Desc:
  53. /// Default:
  54. /// Nullable:True
  55. /// </summary>
  56. public string ResponsiblePersonCode {get;set;}
  57. public const string CN_RESPONSIBLEPERSONCODE = "ResponsiblePersonCode";
  58. /// <summary>
  59. /// Desc:
  60. /// Default:
  61. /// Nullable:True
  62. /// </summary>
  63. public string LastGetBillDate {get;set;}
  64. public const string CN_LASTGETBILLDATE = "LastGetBillDate";
  65. /// <summary>
  66. /// Desc:
  67. /// Default:
  68. /// Nullable:True
  69. /// </summary>
  70. public string LastGetBillNO {get;set;}
  71. public const string CN_LASTGETBILLNO = "LastGetBillNO";
  72. /// <summary>
  73. /// Desc:
  74. /// Default:
  75. /// Nullable:False
  76. /// </summary>
  77. public string TaxType {get;set;}
  78. public const string CN_TAXTYPE = "TaxType";
  79. /// <summary>
  80. /// Desc:
  81. /// Default:
  82. /// Nullable:False
  83. /// </summary>
  84. public string NOTaxAmount {get;set;}
  85. public const string CN_NOTAXAMOUNT = "NOTaxAmount";
  86. /// <summary>
  87. /// Desc:
  88. /// Default:
  89. /// Nullable:False
  90. /// </summary>
  91. public string BillAmount {get;set;}
  92. public const string CN_BILLAMOUNT = "BillAmount";
  93. /// <summary>
  94. /// Desc:
  95. /// Default:
  96. /// Nullable:True
  97. /// </summary>
  98. public string PaymentAmount {get;set;}
  99. public const string CN_PAYMENTAMOUNT = "PaymentAmount";
  100. /// <summary>
  101. /// Desc:
  102. /// Default:
  103. /// Nullable:True
  104. /// </summary>
  105. public string Allowance {get;set;}
  106. public const string CN_ALLOWANCE = "Allowance";
  107. /// <summary>
  108. /// Desc:
  109. /// Default:
  110. /// Nullable:True
  111. /// </summary>
  112. public string DebtAmount {get;set;}
  113. public const string CN_DEBTAMOUNT = "DebtAmount";
  114. /// <summary>
  115. /// Desc:
  116. /// Default:
  117. /// Nullable:True
  118. /// </summary>
  119. public string ExchangeAmount {get;set;}
  120. public const string CN_EXCHANGEAMOUNT = "ExchangeAmount";
  121. /// <summary>
  122. /// Desc:
  123. /// Default:
  124. /// Nullable:False
  125. /// </summary>
  126. public string Settle {get;set;}
  127. public const string CN_SETTLE = "Settle";
  128. /// <summary>
  129. /// Desc:
  130. /// Default:
  131. /// Nullable:True
  132. /// </summary>
  133. public string InvoiceStartNumber {get;set;}
  134. public const string CN_INVOICESTARTNUMBER = "InvoiceStartNumber";
  135. /// <summary>
  136. /// Desc:
  137. /// Default:
  138. /// Nullable:True
  139. /// </summary>
  140. public string InvoiceEndNumber {get;set;}
  141. public const string CN_INVOICEENDNUMBER = "InvoiceEndNumber";
  142. /// <summary>
  143. /// Desc:
  144. /// Default:
  145. /// Nullable:True
  146. /// </summary>
  147. public string Category {get;set;}
  148. public const string CN_CATEGORY = "Category";
  149. /// <summary>
  150. /// Desc:
  151. /// Default:
  152. /// Nullable:True
  153. /// </summary>
  154. public string OrderNo {get;set;}
  155. public const string CN_ORDERNO = "OrderNo";
  156. /// <summary>
  157. /// Desc:
  158. /// Default:
  159. /// Nullable:False
  160. /// </summary>
  161. public string ClosingNote {get;set;}
  162. public const string CN_CLOSINGNOTE = "ClosingNote";
  163. /// <summary>
  164. /// Desc:
  165. /// Default:
  166. /// Nullable:True
  167. /// </summary>
  168. public string GeneralInvoiceNumber {get;set;}
  169. public const string CN_GENERALINVOICENUMBER = "GeneralInvoiceNumber";
  170. /// <summary>
  171. /// Desc:
  172. /// Default:
  173. /// Nullable:True
  174. /// </summary>
  175. public string GeneralSerialNumber {get;set;}
  176. public const string CN_GENERALSERIALNUMBER = "GeneralSerialNumber";
  177. /// <summary>
  178. /// Desc:
  179. /// Default:
  180. /// Nullable:True
  181. /// </summary>
  182. public string Remark1 {get;set;}
  183. public const string CN_REMARK1 = "Remark1";
  184. /// <summary>
  185. /// Desc:
  186. /// Default:
  187. /// Nullable:True
  188. /// </summary>
  189. public string AccountSource {get;set;}
  190. public const string CN_ACCOUNTSOURCE = "AccountSource";
  191. /// <summary>
  192. /// Desc:
  193. /// Default:
  194. /// Nullable:True
  195. /// </summary>
  196. public string UpdateDate {get;set;}
  197. public const string CN_UPDATEDATE = "UpdateDate";
  198. /// <summary>
  199. /// Desc:
  200. /// Default:
  201. /// Nullable:True
  202. /// </summary>
  203. public string UpdatePersonnel {get;set;}
  204. public const string CN_UPDATEPERSONNEL = "UpdatePersonnel";
  205. /// <summary>
  206. /// Desc:
  207. /// Default:
  208. /// Nullable:True
  209. /// </summary>
  210. public string DepartmentSiteNumber {get;set;}
  211. public const string CN_DEPARTMENTSITENUMBER = "DepartmentSiteNumber";
  212. /// <summary>
  213. /// Desc:
  214. /// Default:
  215. /// Nullable:True
  216. /// </summary>
  217. public string ProjectNumber {get;set;}
  218. public const string CN_PROJECTNUMBER = "ProjectNumber";
  219. /// <summary>
  220. /// Desc:
  221. /// Default:
  222. /// Nullable:True
  223. /// </summary>
  224. public string TransferBNotes {get;set;}
  225. public const string CN_TRANSFERBNOTES = "TransferBNotes";
  226. /// <summary>
  227. /// Desc:
  228. /// Default:
  229. /// Nullable:True
  230. /// </summary>
  231. public string ABNumber {get;set;}
  232. public const string CN_ABNUMBER = "ABNumber";
  233. /// <summary>
  234. /// Desc:
  235. /// Default:
  236. /// Nullable:True
  237. /// </summary>
  238. public string EnterNumber {get;set;}
  239. public const string CN_ENTERNUMBER = "EnterNumber";
  240. /// <summary>
  241. /// Desc:
  242. /// Default:
  243. /// Nullable:True
  244. /// </summary>
  245. public string ForeignCurrencyCode {get;set;}
  246. public const string CN_FOREIGNCURRENCYCODE = "ForeignCurrencyCode";
  247. /// <summary>
  248. /// Desc:
  249. /// Default:
  250. /// Nullable:False
  251. /// </summary>
  252. public string ExchangeRate {get;set;}
  253. public const string CN_EXCHANGERATE = "ExchangeRate";
  254. /// <summary>
  255. /// Desc:
  256. /// Default:
  257. /// Nullable:False
  258. /// </summary>
  259. public string ForeignAmount {get;set;}
  260. public const string CN_FOREIGNAMOUNT = "ForeignAmount";
  261. /// <summary>
  262. /// Desc:
  263. /// Default:
  264. /// Nullable:True
  265. /// </summary>
  266. public string PayAmount {get;set;}
  267. public const string CN_PAYAMOUNT = "PayAmount";
  268. /// <summary>
  269. /// Desc:
  270. /// Default:
  271. /// Nullable:True
  272. /// </summary>
  273. public string RefundAmount {get;set;}
  274. public const string CN_REFUNDAMOUNT = "RefundAmount";
  275. /// <summary>
  276. /// Desc:
  277. /// Default:
  278. /// Nullable:True
  279. /// </summary>
  280. public string PaymentTerms {get;set;}
  281. public const string CN_PAYMENTTERMS = "PaymentTerms";
  282. /// <summary>
  283. /// Desc:
  284. /// Default:
  285. /// Nullable:True
  286. /// </summary>
  287. public string AccountDate {get;set;}
  288. public const string CN_ACCOUNTDATE = "AccountDate";
  289. /// <summary>
  290. /// Desc:
  291. /// Default:
  292. /// Nullable:True
  293. /// </summary>
  294. public string DCreditCardNumber {get;set;}
  295. public const string CN_DCREDITCARDNUMBER = "DCreditCardNumber";
  296. /// <summary>
  297. /// Desc:
  298. /// Default:
  299. /// Nullable:True
  300. /// </summary>
  301. public string ClosingDate {get;set;}
  302. public const string CN_CLOSINGDATE = "ClosingDate";
  303. /// <summary>
  304. /// Desc:
  305. /// Default:
  306. /// Nullable:True
  307. /// </summary>
  308. public string CusField1 {get;set;}
  309. public const string CN_CUSFIELD1 = "CusField1";
  310. /// <summary>
  311. /// Desc:
  312. /// Default:
  313. /// Nullable:True
  314. /// </summary>
  315. public string CusField2 {get;set;}
  316. public const string CN_CUSFIELD2 = "CusField2";
  317. /// <summary>
  318. /// Desc:
  319. /// Default:
  320. /// Nullable:True
  321. /// </summary>
  322. public string CusField3 {get;set;}
  323. public const string CN_CUSFIELD3 = "CusField3";
  324. /// <summary>
  325. /// Desc:
  326. /// Default:
  327. /// Nullable:True
  328. /// </summary>
  329. public string CusField4 {get;set;}
  330. public const string CN_CUSFIELD4 = "CusField4";
  331. /// <summary>
  332. /// Desc:
  333. /// Default:
  334. /// Nullable:True
  335. /// </summary>
  336. public string CusField5 {get;set;}
  337. public const string CN_CUSFIELD5 = "CusField5";
  338. /// <summary>
  339. /// Desc:
  340. /// Default:
  341. /// Nullable:True
  342. /// </summary>
  343. public string CusField6 {get;set;}
  344. public const string CN_CUSFIELD6 = "CusField6";
  345. /// <summary>
  346. /// Desc:
  347. /// Default:
  348. /// Nullable:True
  349. /// </summary>
  350. public string CusField7 {get;set;}
  351. public const string CN_CUSFIELD7 = "CusField7";
  352. /// <summary>
  353. /// Desc:
  354. /// Default:
  355. /// Nullable:True
  356. /// </summary>
  357. public string CusField8 {get;set;}
  358. public const string CN_CUSFIELD8 = "CusField8";
  359. /// <summary>
  360. /// Desc:
  361. /// Default:
  362. /// Nullable:True
  363. /// </summary>
  364. public string CusField9 {get;set;}
  365. public const string CN_CUSFIELD9 = "CusField9";
  366. /// <summary>
  367. /// Desc:
  368. /// Default:
  369. /// Nullable:True
  370. /// </summary>
  371. public string CusField10 {get;set;}
  372. public const string CN_CUSFIELD10 = "CusField10";
  373. /// <summary>
  374. /// Desc:
  375. /// Default:
  376. /// Nullable:True
  377. /// </summary>
  378. public string CusField11 {get;set;}
  379. public const string CN_CUSFIELD11 = "CusField11";
  380. /// <summary>
  381. /// Desc:
  382. /// Default:
  383. /// Nullable:True
  384. /// </summary>
  385. public string CusField12 {get;set;}
  386. public const string CN_CUSFIELD12 = "CusField12";
  387. /// <summary>
  388. /// Desc:
  389. /// Default:
  390. /// Nullable:True
  391. /// </summary>
  392. public string Remark2 {get;set;}
  393. public const string CN_REMARK2 = "Remark2";
  394. /// <summary>
  395. /// Desc:
  396. /// Default:
  397. /// Nullable:False
  398. /// </summary>
  399. public string TWNOTaxAmount {get;set;}
  400. public const string CN_TWNOTAXAMOUNT = "TWNOTaxAmount";
  401. /// <summary>
  402. /// Desc:
  403. /// Default:
  404. /// Nullable:False
  405. /// </summary>
  406. public string TWAmount {get;set;}
  407. public const string CN_TWAMOUNT = "TWAmount";
  408. /// <summary>
  409. /// Desc:
  410. /// Default:
  411. /// Nullable:True
  412. /// </summary>
  413. public string CreateUser {get;set;}
  414. public const string CN_CREATEUSER = "CreateUser";
  415. /// <summary>
  416. /// Desc:
  417. /// Default:
  418. /// Nullable:True
  419. /// </summary>
  420. public string CreateDate {get;set;}
  421. public const string CN_CREATEDATE = "CreateDate";
  422. /// <summary>
  423. /// Desc:
  424. /// Default:
  425. /// Nullable:False
  426. /// </summary>
  427. public string OrgID {get;set;}
  428. public const string CN_ORGID = "OrgID";
  429. /// <summary>
  430. /// Desc:
  431. /// Default:
  432. /// Nullable:True
  433. /// </summary>
  434. public string BillFirstCheckDate {get;set;}
  435. public const string CN_BILLFIRSTCHECKDATE = "BillFirstCheckDate";
  436. /// <summary>
  437. /// Desc:
  438. /// Default:
  439. /// Nullable:True
  440. /// </summary>
  441. public string ResponsiblePersonFullCode {get;set;}
  442. public const string CN_RESPONSIBLEPERSONFULLCODE = "ResponsiblePersonFullCode";
  443. /// <summary>
  444. /// Desc:
  445. /// Default:
  446. /// Nullable:True
  447. /// </summary>
  448. public string Advance {get;set;}
  449. public const string CN_ADVANCE = "Advance";
  450. /// <summary>
  451. /// Desc:
  452. /// Default:
  453. /// Nullable:True
  454. /// </summary>
  455. public string TaxSum {get;set;}
  456. public const string CN_TAXSUM = "TaxSum";
  457. /// <summary>
  458. /// Desc:
  459. /// Default:
  460. /// Nullable:True
  461. /// </summary>
  462. public string TotalReceivable {get;set;}
  463. public const string CN_TOTALRECEIVABLE = "TotalReceivable";
  464. /// <summary>
  465. /// Desc:
  466. /// Default:
  467. /// Nullable:True
  468. /// </summary>
  469. public string IsRetn {get;set;}
  470. public const string CN_ISRETN = "IsRetn";
  471. /// <summary>
  472. /// Desc:
  473. /// Default:
  474. /// Nullable:True
  475. /// </summary>
  476. public string Url {get;set;}
  477. public const string CN_URL = "Url";
  478. }
  479. }