## feat
- Voting user
- Halaman kontribusi
- Halaman riwayat
### No issuue
This commit is contained in:
2024-02-16 17:20:06 +08:00
parent 0dd8e287f4
commit e629157960
135 changed files with 3160 additions and 1501 deletions

View File

@@ -0,0 +1,38 @@
import { MODEL_USER } from "@/app_modules/home/model/interface";
export interface MODEL_VOTING {
id: string;
title: string;
deskripsi: string;
awalVote: Date;
akhirVote: Date;
isActive: boolean;
createdAt: Date;
updateAt: Date;
catatan: string;
authorId: string;
Author: MODEL_USER;
Voting_DaftarNamaVote: MODEL_VOTING_DAFTAR_NAMA_VOTE[];
}
export interface MODEL_VOTING_DAFTAR_NAMA_VOTE {
id: string;
value: string;
jumlah: number;
isActive: boolean;
createdAt: Date;
updatedAt: Date;
votingId: string;
}
export interface MODEL_VOTE_KONTRIBUTOR {
id: string;
isActive: boolean;
createdAt: Date;
updatedAt: Date;
Author: MODEL_USER;
votingId: string;
Voting: MODEL_VOTING;
Voting_DaftarNamaVote: MODEL_VOTING_DAFTAR_NAMA_VOTE;
voting_DaftarNamaVoteId: string;
}