delphimvcframework/samples/jsondataobjects_serializer/server/Person.pas
2017-03-02 15:29:43 -03:00

49 lines
1.4 KiB
ObjectPascal

// ***************************************************************************
//
// Delphi MVC Framework
//
// Copyright (c) 2010-2017 Daniele Teti and the DMVCFramework Team
//
// https://github.com/danieleteti/delphimvcframework
//
// Collaborators with this file: Ezequiel Juliano Müller (ezequieljuliano@gmail.com)
//
// ***************************************************************************
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ***************************************************************************
unit Person;
interface
type
TPerson = class
private
FId: Int64;
FName: string;
FAddress: string;
FBirthday: TDate;
public
property Id: Int64 read FId write FId;
property Name: string read FName write FName;
property Address: string read FAddress write FAddress;
property Birthday: TDate read FBirthday write FBirthday;
end;
implementation
end.