mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 19:22:45 +00:00
21 lines
505 B
C#
21 lines
505 B
C#
|
|
|
|
// Streetwriters.Common.Models.Offer
|
|
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
using Streetwriters.Common.Enums;
|
|
using Streetwriters.Common.Interfaces;
|
|
|
|
namespace Streetwriters.Common.Models
|
|
{
|
|
public class PromoCode
|
|
{
|
|
[JsonPropertyName("provider")]
|
|
public SubscriptionProvider Provider { get; set; }
|
|
|
|
[JsonPropertyName("code")]
|
|
public string Code { get; set; }
|
|
}
|
|
} |