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