You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
458 B
16 lines
458 B
---
|
|
to: src/modules/<%=h.changeCase.param(name)%>/<%=h.changeCase.param(name)%>.entity.ts
|
|
---
|
|
<%
|
|
properName = h.changeCase.pascal(name);
|
|
kebabName = h.changeCase.param(name);
|
|
camelCase = h.changeCase.camel(name);
|
|
%>import { DbAuditModel } from '../../utils/dbmodel.model';
|
|
import { Column, Entity, ManyToOne, OneToMany } from 'typeorm';
|
|
import { ApiModelProperty } from '@nestjs/swagger';
|
|
|
|
|
|
@Entity()
|
|
export class <%= properName %> extends DbAuditModel {
|
|
|
|
}
|