//------------------------------------------------------------------------------
//
// 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.Repository.Domain
{
///
/// 表单模板表
///
[Table("Form")]
public partial class Form : StringEntity
{
public Form()
{
this.Name= string.Empty;
this.FrmType= 0;
this.WebId= string.Empty;
this.Fields= 0;
this.ContentData= string.Empty;
this.ContentParse= string.Empty;
this.Content= string.Empty;
this.SortCode= 0;
this.DeleteMark= 0;
this.DbName= string.Empty;
this.Disabled= 0;
this.Description= string.Empty;
this.CreateDate= DateTime.Now;
this.CreateUserId= string.Empty;
this.CreateUserName= string.Empty;
this.ModifyDate= DateTime.Now;
this.ModifyUserId= string.Empty;
this.ModifyUserName= string.Empty;
}
///
/// 表单名称
///
[Description("表单名称")]
public string Name { get; set; }
///
/// 表单类型,0:默认动态表单;1:Web自定义表单
///
[Description("表单类型,0:默认动态表单;1:Web自定义表单")]
public int FrmType { get; set; }
///
/// 系统页面标识,当表单类型为用Web自定义的表单时,需要标识加载哪个页面
///
[Description("系统页面标识,当表单类型为用Web自定义的表单时,需要标识加载哪个页面")]
public string WebId { get; set; }
///
/// 字段个数
///
[Description("字段个数")]
public int Fields { get; set; }
///
/// 表单中的控件属性描述
///
[Description("表单中的控件属性描述")]
public string ContentData { get; set; }
///
/// 表单控件位置模板
///
[Description("表单控件位置模板")]
public string ContentParse { get; set; }
///
/// 表单原html模板未经处理的
///
[Description("表单原html模板未经处理的")]
public string Content { get; set; }
///
/// 排序码
///
[Description("排序码")]
public int SortCode { get; set; }
///
/// 删除标记
///
[Description("删除标记")]
public int DeleteMark { get; set; }
///
/// 数据库名称
///
[Description("数据库名称")]
public string DbName { get; set; }
///
/// 有效
///
[Description("有效")]
public int Disabled { get; set; }
///
/// 备注
///
[Description("备注")]
public string Description { get; set; }
///
/// 创建时间
///
[Description("创建时间")]
public System.DateTime CreateDate { get; set; }
///
/// 创建用户主键
///
[Description("创建用户主键")]
public string CreateUserId { get; set; }
///
/// 创建用户
///
[Description("创建用户")]
public string CreateUserName { get; set; }
///
/// 修改时间
///
[Description("修改时间")]
public System.DateTime? ModifyDate { get; set; }
///
/// 修改用户主键
///
[Description("修改用户主键")]
public string ModifyUserId { get; set; }
///
/// 修改用户
///
[Description("修改用户")]
public string ModifyUserName { get; set; }
///
/// 所属部门
///
[Description("所属部门")]
public string OrgId { get; set; }
}
}