Skip to content

Instantly share code, notes, and snippets.

@daisukenishino2
Last active August 3, 2018 23:49
Show Gist options
  • Save daisukenishino2/bef2fc2f436d7544ed2e76a5f0569c70 to your computer and use it in GitHub Desktop.
Save daisukenishino2/bef2fc2f436d7544ed2e76a5f0569c70 to your computer and use it in GitHub Desktop.
Open棟梁:自動生成テンプレート変更後のDTO(Entity)
//**********************************************************************************
//* クラス名 :ShippersEntity
//* クラス日本語名 :自動生成Entityクラス
//*
//* 作成日時 :2018/7/30
//* 作成者 :棟梁 D層自動生成ツール(墨壺), 日立 太郎
//* 更新履歴 :
//*
//* 日時 更新者 内容
//* ---------- ---------------- -------------------------------------------------
//* 20xx/xx/xx XX XX XXXX
//**********************************************************************************
// System~
using System;
/// <summary>自動生成Entityクラス</summary>
[Serializable()]
public class ShippersEntity
{
#region メンバ変数
/// <summary>メンバ変数:ShipperID</summary>
private System.Int32? _PK_ShipperID;
/// <summary>プロパティ:ShipperID</summary>
public System.Int32? ShipperID
{
get
{
return this._PK_ShipperID;
}
set
{
this._PK_ShipperID = value;
}
}
/// <summary>メンバ変数:CompanyName</summary>
private System.String _CompanyName;
/// <summary>プロパティ:CompanyName</summary>
public System.String CompanyName
{
get
{
return this._CompanyName;
}
set
{
this._CompanyName = value;
}
}
/// <summary>メンバ変数:Phone</summary>
private System.String _Phone;
/// <summary>プロパティ:Phone</summary>
public System.String Phone
{
get
{
return this._Phone;
}
set
{
this._Phone = value;
}
}
#endregion
}
'**********************************************************************************
'* クラス名 :ShippersEntity
'* クラス日本語名 :自動生成Entityクラス
'*
'* 作成日時 :2018/7/30
'* 作成者 :棟梁 D層自動生成ツール(墨壺), 日立 太郎
'* 更新履歴 :
'*
'* 日時 更新者 内容
'* ---------- ---------------- -------------------------------------------------
'* 20xx/xx/xx XX XX XXXX
'**********************************************************************************
' System~
Imports System
''' <summary>自動生成Entityクラス</summary>
<Serializable> _
Public Class ShippersEntity
#Region "メンバ変数"
''' <summary>メンバ変数:ShipperID</summary>
Private _PK_ShipperID As Nullable(Of System.Int32)
''' <summary>プロパティ:ShipperID</summary>
Public Property ShipperID() As Nullable(Of System.Int32)
Get
Return Me._PK_ShipperID
End Get
Set
Me._PK_ShipperID = value
End Set
End Property
''' <summary>メンバ変数:CompanyName</summary>
Private _CompanyName As System.String
''' <summary>プロパティ:CompanyName</summary>
Public Property CompanyName() As System.String
Get
Return Me._CompanyName
End Get
Set
Me._CompanyName = value
End Set
End Property
''' <summary>メンバ変数:Phone</summary>
Private _Phone As System.String
''' <summary>プロパティ:Phone</summary>
Public Property Phone() As System.String
Get
Return Me._Phone
End Get
Set
Me._Phone = value
End Set
End Property
#End Region
End Class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment