//------------------------------------------------------------------------------ // 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("SysPrinterPlan")] public class SysPrinterPlan : StringEntity { public SysPrinterPlan() { this.Name = ""; this.CreateUser = ""; this.SourceSql = ""; this.ColumnView = ""; this.PlanContent = ""; this.InParamColumn = ""; this.GroupBy = ""; this.CreateTime = DateTime.Now; this.Disable = false; } /// ///方案名称 /// [Description("方案名称")] public string Name { get; set; } /// ///创建人 /// [Description("创建人")] public string CreateUser { get; set; } /// ///数据源;打印方案对应的数据来源SQL /// [Description("数据源;打印方案对应的数据来源SQL")] public string SourceSql { get; set; } /// ///中文视图名;设计打印方案时,提供中文快捷按钮的视图来源 /// [Description("中文视图名;设计打印方案时,提供中文快捷按钮的视图来源")] public string ColumnView { get; set; } /// ///入口参数字段;入库参数字段数组,通过,分隔 /// [Description("入口参数字段;入库参数字段数组,通过,分隔")] public string InParamColumn { get; set; } /// ///分组字段,通常用于主从表结构打印时 /// [Description("分组字段,通常用于主从表结构打印时")] public string GroupBy { get; set; } /// ///打印方案内容;打印方案JSON对象 /// [Description("打印方案内容;打印方案JSON对象")] public string PlanContent { get; set; } /// ///创建日期 /// [Description("创建日期")] public DateTime CreateTime { get; set; } /// ///是否可用 /// [Description("是否可用")] public bool Disable { get; set; } } }