Lottorivi.cs 552 Bytes
Newer Older
M1888's avatar
M1888 committed
1 2 3 4 5 6 7 8 9 10 11
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lottokone.Model
{
    public class Lottorivi : Rivi
    {
        public short Viikko { get; set; }
M1888's avatar
M1888 committed
12

M1888's avatar
M1888 committed
13 14
        // Viikkoja, montako voimassa. 0 = ikuinen
        public int Voimassa { get; set; }
M1888's avatar
16.4  
M1888 committed
15 16 17

        public Lottorivi() : base()
        {
M1888's avatar
M1888 committed
18 19 20
            Voimassa = Properties.Settings.Default.Voimassa;
        }

M1888's avatar
M1888 committed
21
        public Lottorivi(int voimassa) : base()
M1888's avatar
M1888 committed
22 23
        {
            Voimassa = voimassa;
M1888's avatar
16.4  
M1888 committed
24
        }
M1888's avatar
M1888 committed
25 26
    }
}