From 1a1c8e71fcd14858f595029f089b2d4a00202b32 Mon Sep 17 00:00:00 2001
From: ogi <Administrator@S-OGI-PC>
Date: Fri, 05 Dec 2025 09:24:16 +0900
Subject: [PATCH] プロジェクトファイルを追加。
---
HotelPms.SourceFactory/Template/BeanFileMode.txt | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 116 insertions(+), 0 deletions(-)
diff --git a/HotelPms.SourceFactory/Template/BeanFileMode.txt b/HotelPms.SourceFactory/Template/BeanFileMode.txt
new file mode 100644
index 0000000..bc58d70
--- /dev/null
+++ b/HotelPms.SourceFactory/Template/BeanFileMode.txt
@@ -0,0 +1,116 @@
+using System;
+using System.Collections.Concurrent;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Text;
+using HotelPms.Share.Data;
+using HotelPms.Share.Util;
+using Google.Protobuf.WellKnownTypes;
+using customTypes;
+using System.Data.Common;
+
+namespace @12@;
+
+/// ****************************** Description *******************************
+/// ◇システム名称
+/// ホテルPMS
+/// ◇概要
+///
+/// ◇履歴
+/// 2021/05/14 コード作成ツール 自動作成
+/// ****************************** Declarations ******************************
+[Serializable()]
+@11@ partial class @0@ : RecordBase
+{
+ #region ★★★★★ Property ★★★★★
+
+ public static ConcurrentDictionary<string, int> PrimaryKey { get; } = new ConcurrentDictionary<string, int>();
+
+ #endregion
+
+ partial void OnConstruction()
+ {
+ if (PrimaryKey.Count == 0)
+ {
+@1@
+ }
+ }
+
+ #region ★★★★★ Function ★★★★★
+
+ public bool CompareTo(@0@ item)
+ {
+ if (@2@)
+ {
+ return false;
+ }
+ return true;
+ }
+
+
+ public override void CopyTo(object dest)
+ {
+ @0@ item = dest as @0@;
+@3@
+ }
+
+ public override void Clear()
+ {
+@4@
+ }
+
+ public @0@ DeepClone()
+ {
+ @0@ item = new @0@();
+@3@
+ return item;
+ }
+
+ public override bool ConvertDataRow(System.Data.DataRow row)
+ {
+@5@
+ return true;
+ }
+
+ public void ToDataRow(System.Data.DataRow row)
+ {
+@6@
+ }
+
+ public void ConvertReader(DbDataReader row)
+ {
+ int i = 0;
+@14@
+ }
+
+ public string AddSql()
+ {
+@7@
+ }
+
+ public string UpdateSql()
+ {
+@8@
+ }
+
+ public string ToText()
+ {
+ StringBuilder text = new StringBuilder();
+@9@
+ return text.ToString();
+ }
+
+ public override object GetField(string name)
+ {
+@10@
+ else { return null; }
+ }
+
+ public override bool SetField(string name, object value)
+ {
+@13@
+ else { return false; }
+ }
+
+ #endregion
+}
\ No newline at end of file
--
Gitblit v1.10.0