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/DSWeb/Areas/MvcShipping/Models/MsHome/Location.cs

91 lines
1.8 KiB
C#

3 years ago
using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsHome
{
[JsonObject]
public class Location : ModelObjectBillHead
{
#region private Fields
private string _gid = string.Empty;
private string _moduleid = String.Empty;
private string _userid = string.Empty;
private int _modulewidth = 0;
private int _moduleheight = 0;
private int _moduletop = 0;
private int _moduleleft = 0;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
[ModelDB]
public string MODULEID
{
get { return _moduleid; }
set { _moduleid = value; }
}
[ModelDB]
public string USERID
{
get { return _userid; }
set { _userid = value; }
}
[ModelDB]
public int MODULEWIDTH
{
get { return _modulewidth; }
set { _modulewidth = value; }
}
[ModelDB]
public int MODULEHEIGHT
{
get { return _moduleheight; }
set { _moduleheight = value; }
}
[ModelDB]
public int MODULETOP
{
get { return _moduletop; }
set { _moduletop = value; }
}
[ModelDB]
public int MODULELEFT
{
get { return _moduleleft; }
set { _moduleleft = value; }
}
#endregion
public Location()
{
TableName = "user_mainmd_set";
}
}
}