source upload

This commit is contained in:
Razor12911
2022-01-17 22:16:47 +02:00
parent 12936d065b
commit 098e8c48de
1778 changed files with 1206749 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
unit RESTModel;
interface
uses
SynCommons,
SynTable, // for TSynValidateText
mORMot;
type
TPerson = class(TSQLRecord) // TSQLRecord has already ID: integer primary key
private
fName: RawUTF8;
published
/// ORM will create a NAME VARCHAR(80) column
property Name: RawUTF8 index 80 read fName write fName;
end;
const
SERVER_ROOT = 'root';
SERVER_PORT = '888';
implementation
end.