DTOhocsinh-MT

Public Class DtoHocSinh

#Region "Attributes"

    Private _MaHS As String

    Private _HoHS As String

    Private _TenHS As String

    Private _NgaySinh As Date

    Private _DienThoai As String

    Private _DiaChi As String

#End Region

#Region "Properties"

    Public Property MaHS() As String

        Get

            Return _MaHS

        End Get

        Set(ByVal value As String)

            _MaHS = value

        End Set

    End Property

    Public Property HoHS() As String

        Get

            Return _HoHS

        End Get

        Set(ByVal value As String)

            _HoHS = value

        End Set

    End Property

    Public Property TenHS() As String

        Get

            Return _TenHS

        End Get

        Set(ByVal value As String)

            _TenHS = value

        End Set

    End Property

    Public Property NgaySinh() As Date

        Get

            Return _NgaySinh

        End Get

        Set(ByVal value As Date)

            _NgaySinh = value

        End Set

    End Property

    Public Property DienThoai() As String

        Get

            Return _DienThoai

        End Get

        Set(ByVal value As String)

            _DienThoai = value

        End Set

    End Property

    Public Property DiaChi() As String

        Get

            Return _DiaChi

        End Get

        Set(ByVal value As String)

            _DiaChi = value

        End Set

    End Property

#End Region

#Region "Constructors"

    Public Sub New()

        MaHS = ""

        HoHS = ""

        TenHS = ""

        NgaySinh = Now.Date

        DienThoai = ""

        DiaChi = ""

    End Sub

#End Region

End Class

Bạn đang đọc truyện trên: AzTruyen.Top

Tags: #trieudollar