You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
709 B

using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Utils.Datas;
using WeighBusiness.Utils;
namespace WeighBusiness.BO
{
public class AccountingUnit : Base
{
public override string TableName { get { return TableNames.; } }
public long AccountingUnit_ID { get; set; }
public string AccountingUnit_Name { get; set; }
}
public static class AccountingUnitUtil
{
public static AccountingUnit ToAccountingUnit(this DataRow row)
{
return new AccountingUnit() {
AccountingUnit_ID = DataTypeUtil.GetLongNum(row["AccountingUnit_ID"]),
AccountingUnit_Name = row["AccountingUnit_Name"].ToString(),
};
}
}
}