49 lines
1.3 KiB
C#
49 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
|
|
namespace CompanyManagment.App.Contracts.Law
|
|
{
|
|
public class LawViewModel
|
|
{
|
|
public long Id { get; set; }
|
|
public string Title { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
public List<LawItemViewModel> Items { get; set; }
|
|
public LawType Type { get; set; }
|
|
public string HeadTitle { get; set; }
|
|
public List<string> Notifications { get; set; }
|
|
public int Version { get; set; }
|
|
}
|
|
|
|
public class LawItemViewModel
|
|
{
|
|
public string Header { get; set; }
|
|
public string Details { get; set; }
|
|
// public int OrderNumber { get; set; }
|
|
}
|
|
|
|
public class CreateLaw
|
|
{
|
|
public string Title { get; set; }
|
|
public List<LawItemViewModel> Items { get; set; }
|
|
public LawType Type { get; set; }
|
|
public string HeadTitle { get; set; }
|
|
public List<string> Notifications { get; set; }
|
|
}
|
|
|
|
|
|
|
|
public class EditLaw
|
|
{
|
|
public long Id { get; set; }
|
|
public string Title { get; set; }
|
|
public List<LawItemViewModel> Items { get; set; }
|
|
public LawType Type { get; set; }
|
|
public string HeadTitle { get; set; }
|
|
public List<string> Notifications { get; set; }
|
|
|
|
}
|
|
}
|