audit date is modified
This commit is contained in:
parent
1824c56d2b
commit
0c686a458b
|
@ -114,26 +114,26 @@
|
|||
</mat-cell>
|
||||
</ng-container>
|
||||
|
||||
<!-- CreatedAt Column -->
|
||||
<ng-container matColumnDef="createdAt">
|
||||
<!-- createdDate Column -->
|
||||
<ng-container matColumnDef="createdDate">
|
||||
<mat-header-cell *matHeaderCellDef mat-sort-header fxHide fxShow.gt-sm
|
||||
>Created At</mat-header-cell
|
||||
>Created Date</mat-header-cell
|
||||
>
|
||||
<mat-cell *matCellDef="let user" fxHide fxShow.gt-sm>
|
||||
<p class="text-truncate">
|
||||
{{ user.createdAt }}
|
||||
{{ user.createdDate | date: 'yyyy.MM.dd, HH:mm:ss' }}
|
||||
</p>
|
||||
</mat-cell>
|
||||
</ng-container>
|
||||
|
||||
<!-- UpdatedAt Column -->
|
||||
<ng-container matColumnDef="updatedAt">
|
||||
<!-- Last Modified Date Column -->
|
||||
<ng-container matColumnDef="lastModifiedDate">
|
||||
<mat-header-cell *matHeaderCellDef mat-sort-header fxHide fxShow.gt-sm
|
||||
>Updated At</mat-header-cell
|
||||
>Last Modified Date</mat-header-cell
|
||||
>
|
||||
<mat-cell *matCellDef="let user" fxHide fxShow.gt-sm>
|
||||
<p class="text-truncate">
|
||||
{{ user.updatedAt }}
|
||||
{{ user.lastModifiedDate | date: 'yyyy.MM.dd, HH:mm:ss' }}
|
||||
</p>
|
||||
</mat-cell>
|
||||
</ng-container>
|
||||
|
|
|
@ -38,8 +38,8 @@ export class ListComponent implements OnInit, OnDestroy, AfterViewInit {
|
|||
'email',
|
||||
'block',
|
||||
'sendEmail',
|
||||
'createdAt',
|
||||
'updatedAt'
|
||||
'createdDate',
|
||||
'lastModifiedDate'
|
||||
];
|
||||
|
||||
@ViewChild(MatPaginator, { static: true })
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
export interface DateAudit {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
createdDate: Date;
|
||||
lastModifiedDate: Date;
|
||||
}
|
||||
|
||||
export interface UserDateAuditEntity extends DateAudit {
|
||||
createdBy: number;
|
||||
updatedBy: number;
|
||||
lastModifiedBy: number;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user