Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export interface INewsTickerItem extends SFInterfaces.ISharePointListBackedEntity {
- Title: string;
- News: string;
- EffectiveDate: Date;
- ExpirationDate: Date;
- RedirectUrl: string;
- }
- export class NewsTickerItem extends AbstractViewPortItem implements INewsTickerItem {
- public SharePointID: number;
- public Title: string;
- public News: string;
- public EffectiveDate: Date;
- public ExpirationDate: Date;
- public RedirectUrl: string;
- public DisplaySequence: number;
- constructor() {
- super();
- this.Title = "";
- this.News = "";
- this.RedirectUrl = "";
- const yesterday = new Date(new Date().setDate(new Date().getDate() - 1));
- this.EffectiveDate = yesterday;
- this.ExpirationDate = yesterday;
- this.DisplaySequence = 0;
- }
- static GetSharePointMetadata(): SFInterfaces.ISharePointEntityMetadata ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement