101 lines
3.4 KiB
C#
101 lines
3.4 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace WX.CRM.Model.Entity
|
|
{
|
|
public partial class RES_IMPORTRES
|
|
{
|
|
[DisplayName("导入ID")]
|
|
[NotMapped]
|
|
public decimal map_IMPORTID { get { return this.IMPORTID; } set { this.IMPORTID = value; } }
|
|
[DisplayName("资源类型ID")]
|
|
[NotMapped]
|
|
public Nullable<decimal> map_RESTYPEID { get { return this.RESTYPEID; } set { this.RESTYPEID = value; } }
|
|
[DisplayName("活动ID")]
|
|
[NotMapped]
|
|
public Nullable<decimal> map_ACTIVITYID { get { return this.ACTIVITYID; } set { this.ACTIVITYID = value; } }
|
|
[DisplayName("资源标签")]
|
|
[NotMapped]
|
|
public string map_RESOURCETAG { get { return this.RESOURCETAG; } set { this.RESOURCETAG = value; } }
|
|
[DisplayName("上传方式ID")]
|
|
[NotMapped]
|
|
public Nullable<decimal> map_OPTYPE { get { return this.OPTYPE; } set { this.OPTYPE = value; } }
|
|
[DisplayName("创建人ID")]
|
|
[NotMapped]
|
|
public Nullable<decimal> map_CREATEUSER { get { return this.CREATEUSER; } set { this.CREATEUSER = value; } }
|
|
[DisplayName("创建时间")]
|
|
[NotMapped]
|
|
public Nullable<System.DateTime> map_CTIME { get { return this.CTIME; } set { this.CTIME = value; } }
|
|
[DisplayName("上传方式")]
|
|
[NotMapped]
|
|
public string map_OPTYPECHAR
|
|
{
|
|
get
|
|
{
|
|
if (this.OPTYPE == 0)
|
|
return "手机号批量提交";
|
|
else if (this.OPTYPE == 1)
|
|
return "文件上传导入";
|
|
else if (this.OPTYPE == 2)
|
|
return "excel上传导入";
|
|
else
|
|
return "";
|
|
}
|
|
}
|
|
[DisplayName("资源名称")]
|
|
[NotMapped]
|
|
public string map_RESOURCENAME { get; set; }
|
|
[DisplayName("活动名称")]
|
|
[NotMapped]
|
|
public string map_ACTIVITYNAME { get; set; }
|
|
[DisplayName("创建人")]
|
|
[NotMapped]
|
|
public string map_CREATEUSERNAME { get; set; }
|
|
[DisplayName("资源数")]
|
|
[NotMapped]
|
|
public decimal? map_ResourceCount { get { return this.RESOURCECOUNT; } set { this.RESOURCECOUNT = value; } }
|
|
[DisplayName("新资源数")]
|
|
[NotMapped]
|
|
public decimal? map_ResourceNewCount { get { return this.RESOURCENEWCOUNT; } set { this.RESOURCENEWCOUNT = value; } }
|
|
}
|
|
|
|
[Serializable]
|
|
public class ResourceData
|
|
{
|
|
#region Model
|
|
private DateTime _resourcedate;
|
|
private decimal _resourcesumbitnum;
|
|
private decimal _newintoresoucenum;
|
|
[NotMapped]
|
|
/// <summary>
|
|
/// 日期
|
|
/// </summary>
|
|
public DateTime ResourceDate
|
|
{
|
|
set { _resourcedate = value; }
|
|
get { return _resourcedate; }
|
|
}
|
|
[NotMapped]
|
|
/// <summary>
|
|
/// 资源提交数
|
|
/// </summary>
|
|
public decimal ResourceSumbitNum
|
|
{
|
|
set { _resourcesumbitnum = value; }
|
|
get { return _resourcesumbitnum; }
|
|
}
|
|
[NotMapped]
|
|
/// <summary>
|
|
/// 新入资源数
|
|
/// </summary>
|
|
public decimal NewIntoResouceNum
|
|
{
|
|
set { _newintoresoucenum = value; }
|
|
get { return _newintoresoucenum; }
|
|
}
|
|
|
|
#endregion Model
|
|
}
|
|
}
|