blob: 199aabd588b8a1c1efbe6352b2a83d7d457395e4 [file] [log] [blame] [edit]
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// ignore: unnecessary_library_directive
library gcloud.db.model_test.duplicate_fieldname;
import 'package:gcloud/db.dart' as db;
@db.Kind()
class A extends db.Model {
@db.IntProperty()
int? foo;
}
@db.Kind()
class B extends A {
@override
@db.IntProperty(propertyName: 'bar')
// ignore: overridden_fields
int? foo;
}