//------------------------------------------------------------------------------ // This code was generated by a CodeSmith Template. // // DO NOT MODIFY contents of this file. Changes to this // file will be lost if the code is regenerated. // Author:Yubao Li //------------------------------------------------------------------------------ using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using OpenAuth.Repository.Core; namespace OpenAuth.App.Request { /// /// /// public class AddOrUpdateExternalDataSourceReq { /// ///是否测试成功 /// public bool? Testsuccess { get; set; } /// ///主键 /// public string Id { get; set; } /// ///是否启用 /// public bool Enabled { get; set; } /// ///连接字符串 /// public string Connectionstring { get; set; } /// ///描述 /// public string Description { get; set; } /// ///密码 /// public string Password { get; set; } /// ///用户名 /// public string Username { get; set; } /// ///端口 /// public int? Port { get; set; } /// ///服务器地址 /// public string Server { get; set; } /// ///数据库名称 /// public string Databasename { get; set; } /// ///数据库类型 /// public int Dbtype { get; set; } /// ///数据源名称 /// public string Name { get; set; } } }