public Article(string title, string author, Cover cover, string description, List <Paragraph> body, List <RelatedMedia> relatedMedias, string trackingLink, ArticleStatus status, ArticleStatus comment) { this.title = title; this.author = author; this.cover = cover; this.description = description; this.body = body; this.relatedMedias = relatedMedias; this.trackingLink = trackingLink; this.status = status; this.comment = comment; }
public CoverPhoto(string photoUrl, ArticleStatus status) : base("photo") { this.photoUrl = photoUrl; this.Status = status; }
public CoverVideo(ArticleStatus status, CoverViewVideoType coverView, string videoId) : base("video") { this.coverView = coverView; this.videoId = videoId; this.Status = status; }