Files
WPetition/Submission.Api/Models/PetitionDetail.cs
fISHIE 31b2929927 added slug to make the url nicer
moved cf to its own file to keep code clean
2026-01-28 14:58:02 +05:00

23 lines
600 B
C#

using System.Runtime.InteropServices;
using Ashi.MongoInterface.Helper;
namespace Submission.Api.Models;
[BsonCollection("petitionDetail")]
public class PetitionDetail : Document
{
public string Slug { get; set; }
public DateOnly StartDate { get; set; }
public string NameDhiv { get; set; }
public string NameEng { get; set; }
public Guid AuthorId { get; set; }
public string PetitionBodyDhiv { get; set; }
public string PetitionBodyEng { get; set; }
public int SignatureCount { get; set; }
public bool isApproved { get; set; } = false;
}