
org.openurp.edu.grade.config.TranscriptTemplate.scala Maven / Gradle / Ivy
/*
* Copyright (C) 2014, The OpenURP Software.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*/
package org.openurp.edu.grade.config
import org.beangle.data.model.LongId
import org.beangle.data.model.annotation.config
import org.beangle.data.model.pojo.{Coded, Named, Remark, Updated}
import org.openurp.base.model.Project
/**
* 系统报表模板定义
* 系统报表是项目范围内的各类业务的自定义报表定义。项目属性为空的,为缺省模板。
*
* - category 表示种类例如成绩部分、计划部分
* - code表示该报表代码
* - name表示该报表的名称
* - remark表示该报表的说明
* - template表示该报表的模板或者路径说明
*
* 项目和代码 联合唯一
*/
@config
class TranscriptTemplate extends LongId with Updated with Remark with Coded with Named {
/** 项目 */
var project: Project = _
/** 类别 */
var category: String = _
/** 模板路径 */
var template: String = _
/** 选项 */
var options: String = _
/** 纸张大小 */
var pageSize: String = "A4"
/** 横向Portrait/纵向Landscape */
var orientation: String = "Portrait"
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy