You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/HomeService/Models/Employee.cs

63 lines
1.4 KiB
C#

3 years ago
using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace HomeService.Models
{
[JsonObject]
public class Employee : ModelObjectBillHead
{
#region private Fields
private string _gid = string.Empty;
private string _username = string.Empty;
private string _codename = string.Empty;
private string _showname = string.Empty;
private string _password = string.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
[ModelDB]
public string USERNAME
{
get { return _username; }
set { _username = value; }
}
[ModelDB]
public string CODENAME
{
get { return _codename; }
set { _codename = value; }
}
[ModelDB]
public string SHOWNAME
{
get { return _showname; }
set { _showname = value; }
}
[ModelDB]
public string PASSWORD
{
get { return _password; }
set { _password = value; }
}
#endregion
public Employee()
{
TableName = "user";
}
}
}