|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsAnnounce
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class Announce : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region private Fields
|
|
|
|
|
|
|
|
|
|
private string _GID = Guid.NewGuid().ToString();
|
|
|
|
|
private string _NAME = String.Empty;
|
|
|
|
|
private string _DESCRIPTION = String.Empty;
|
|
|
|
|
private string _ANNOUNCECONTENT = String.Empty;
|
|
|
|
|
private DateTime _CREATETIME = DateTime.Now;
|
|
|
|
|
private string _CREATEUSER = String.Empty;
|
|
|
|
|
private string _CREATEUSERREF = String.Empty;
|
|
|
|
|
private string _MODIFIEDUSER = String.Empty;
|
|
|
|
|
private DateTime _MODIFIEDTIME = DateTime.Now;
|
|
|
|
|
private string _BEGINTIME = String.Empty;
|
|
|
|
|
private string _ENDTIME = String.Empty;
|
|
|
|
|
private string _COMPANYID = String.Empty;
|
|
|
|
|
private int _INTERVAL = 0;
|
|
|
|
|
private int _TYPE = 1;
|
|
|
|
|
private string _TYPEREF = String.Empty;
|
|
|
|
|
private bool _ISISSUE =false;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public Announce()
|
|
|
|
|
{
|
|
|
|
|
TableName = "sys_announce";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Public Properties
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _GID; }
|
|
|
|
|
set { _GID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
//public string NAME
|
|
|
|
|
//{
|
|
|
|
|
// get { return _NAME; }
|
|
|
|
|
// set { _NAME = value; }
|
|
|
|
|
//}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DESCRIPTION
|
|
|
|
|
{
|
|
|
|
|
get { return _DESCRIPTION; }
|
|
|
|
|
set { _DESCRIPTION = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ANNOUNCECONTENT
|
|
|
|
|
{
|
|
|
|
|
get { return _ANNOUNCECONTENT; }
|
|
|
|
|
set { _ANNOUNCECONTENT = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CREATEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATEUSER; }
|
|
|
|
|
set { _CREATEUSER = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CREATEUSERREF
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATEUSERREF; }
|
|
|
|
|
set { _CREATEUSERREF = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public DateTime CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATETIME; }
|
|
|
|
|
set { _CREATETIME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _MODIFIEDUSER; }
|
|
|
|
|
set { _MODIFIEDUSER = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public DateTime MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _MODIFIEDTIME; }
|
|
|
|
|
set { _MODIFIEDTIME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BEGINTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _BEGINTIME; }
|
|
|
|
|
set { _BEGINTIME = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ENDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _ENDTIME; }
|
|
|
|
|
set { _ENDTIME = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int TYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _TYPE; }
|
|
|
|
|
set { _TYPE = value; }
|
|
|
|
|
}
|
|
|
|
|
public string TYPEREF
|
|
|
|
|
{
|
|
|
|
|
get { return _TYPEREF; }
|
|
|
|
|
set { _TYPEREF = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISISSUE
|
|
|
|
|
{
|
|
|
|
|
get { return _ISISSUE; }
|
|
|
|
|
set { _ISISSUE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string COMPANYID
|
|
|
|
|
{
|
|
|
|
|
get { return _COMPANYID; }
|
|
|
|
|
set { _COMPANYID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|