init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
34
KretaWeb/Models/ZaradekBuborekModel.cs
Normal file
34
KretaWeb/Models/ZaradekBuborekModel.cs
Normal file
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Kreta.Web.Models
|
||||
{
|
||||
public class ZaradekBuborekModel
|
||||
{
|
||||
public List<ZaradekSzovegModel> ZaradekokListaja { get; set; }
|
||||
public string ZaradekSzovegek { get; set; }
|
||||
|
||||
public bool IsSzerkesztheto { get; set; }
|
||||
|
||||
public DateTime KeltezesDatuma { get; set; }
|
||||
|
||||
public DateTime UtolsoModositasDatuma { get; set; }
|
||||
|
||||
public int Id { get; set; }
|
||||
|
||||
public string OsztalyNev { get; set; }
|
||||
|
||||
public bool IsKapcsolodo { get; set; }
|
||||
public bool IsTorolheto { get; set; }
|
||||
public bool IsOsztaly { get; set; }
|
||||
|
||||
public static int Comparison(ZaradekBuborekModel x, ZaradekBuborekModel y)
|
||||
{
|
||||
return
|
||||
x.KeltezesDatuma.Date == y.KeltezesDatuma.Date ?
|
||||
x.UtolsoModositasDatuma.Date > y.UtolsoModositasDatuma.Date ? -1 : 1
|
||||
:
|
||||
x.KeltezesDatuma > y.KeltezesDatuma ? -1 : 1;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue