using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace lyfzAttendance.Controller { public class UserInfoController: LYFZ.DAL.BaseDataOperate { #region 属性和字段 public Model.UserInfo CurrentModel { get { return new Model.UserInfo(); } } public override object ObjModel { get { return this.CurrentModel; } } public override string TableName { get; set; } = "tb_ErpUser"; public override string TableFieldNameString { get; set; } = ""; #endregion #region 查询数据 public Model.UserInfo DataRowToModel(DataRow row) { return DataRowToModelObject(row) as Model.UserInfo; } #endregion } }