using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ObjectModel.Backend
{
    public class RandListMoneyInfo
    {
        public long rowNum;
        public int userId;
        public string userName;
        public string NickName;
        public long Money;
        public int gold;
        public int coupon;

        public RandListMoneyInfo() { }

        public RandListMoneyInfo(DataRow row)
        {
            rowNum = (long)row["rowNum"];
            userId = (int)row["userId"];
            userName = (string)row["userName"];
            NickName = row["NickName"] is string nick ? nick : string.Empty;
            Money = (long)row["Money"];
            gold = (int)row["hjha_Gold"];
            coupon = (int)row["coupon"];
        }


    }
}
