若依 2.0

This commit is contained in:
RuoYi
2018-07-02 09:14:43 +08:00
parent fccd5830a4
commit ffd68de51b
455 changed files with 102717 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
package ${package}.domain;
import com.ruoyi.framework.web.domain.BaseEntity;
#foreach ($column in $columns)
#if($column.attrType == 'Date')
import java.util.Date;
#break
#end
#end
/**
* ${tableComment}表 ${tableName}
*
* @author ${author}
* @date ${datetime}
*/
public class ${className} extends BaseEntity
{
private static final long serialVersionUID = 1L;
#foreach ($column in $columns)
/** $column.columnComment */
private $column.attrType $column.attrname;
#end
#foreach ($column in $columns)
/**
* 设置:${column.columnComment}
*/
public void set${column.attrName}($column.attrType $column.attrname)
{
this.$column.attrname = $column.attrname;
}
/**
* 获取:${column.columnComment}
*/
public $column.attrType get${column.attrName}()
{
return $column.attrname;
}
#end
}