Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (39 sloc) 1.04 KB
part of orm_domain;@Ref('entities.person')class Person extends MutableEntity { //--------------------------------- // // Public properties // //--------------------------------- //--------------------------------- // refClassName //--------------------------------- String get refClassName => 'entities.person'; //--------------------------------- // id //--------------------------------- @Property(ID_SYMBOL, 'id', int, 'int') @Id(0) @NotNullable() @DefaultValue(0) @Immutable() static const String ID = 'id'; static const Symbol ID_SYMBOL = const Symbol('orm_domain.Person.id'); int id; //--------------------------------- // name //--------------------------------- @Property(NAME_SYMBOL, 'name', String, 'String') @LabelField() static const String NAME = 'name'; static const Symbol NAME_SYMBOL = const Symbol('orm_domain.Person.name'); String name; //--------------------------------- // // Constructor // //--------------------------------- Person() : super(); static Person construct() => new Person();}
You can’t perform that action at this time.