Fixing an issue with output parameters that are of type IntPtr
[castle.git] / MonoRail / TestSiteARSupport / Model / PersonUser.cs
blobd95082af14cf3aaf61b7a46290acd2e351d9783b
1 // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace TestSiteARSupport.Model
17 using Castle.ActiveRecord;
19 [ActiveRecord("TSAS_PersonUser")]
20 public class PersonUser : PersonBase
22 private string userid;
23 private string username;
24 private string password;
26 [JoinedKey("user_id")]
27 public string UserId
29 get { return userid; }
30 set { userid = value; }
32 [Property("user_name")]
33 public string UserName
35 get { return username; }
36 set { username = value; }
38 [Property]
39 public string Password
41 get { return password; }
42 set { password = value; }