This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
resolver/app/domain/votes/vote.ts
2017-10-10 16:39:02 +07:00

53 lines
805 B
TypeScript

import { BaseDomain } from 'domain/common'
export class Vote extends BaseDomain {
/**
* Vote identifier
*
* @type {string}
* @memberof Vote
*/
public id?: string | null
/**
* Post identifire which vote on
*
* @type {string}
* @memberof Vote
*/
public postId: string
/**
* Vote date
*
* @type {number}
* @memberof Vote
*/
public creationDate: number
/**
* Voter full name
*
* @type {string}
* @memberof Vote
*/
public userDisplayName: string
/**
* Avatar of voter
*
* @type {string}
* @memberof Vote
*/
public userAvatar: string
/**
* Voter identifier
*
* @type {string}
* @memberof Vote
*/
public userId: string
}