84 lines
2.4 KiB
C#
84 lines
2.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using WalkingTec.Mvvm.Core;
|
|
|
|
namespace wtmProject.Model
|
|
{
|
|
public enum BusinessStatusEnum
|
|
{
|
|
[Display(Name = "Sys.Requirement")]
|
|
Requirement,
|
|
[Display(Name = "Sys.Proposal")]
|
|
Proposal,
|
|
[Display(Name = "Sys.BusinessProject")]
|
|
BusinessProject,
|
|
[Display(Name = "Sys.Follow")]
|
|
Follow,
|
|
[Display(Name = "Sys.Negotiation")]
|
|
Negotiation
|
|
}
|
|
/// <summary>
|
|
/// WTM_BUSINESS
|
|
/// </summary>
|
|
[Table("WTM_BUSINESS")]
|
|
public class WTM_BUSINESS : BasePoco, ITenant
|
|
{
|
|
public WTM_CUSTOM Custom { get; set; }
|
|
|
|
[Display(Name = "_Admin.CustomAllName")]
|
|
public Guid? CustomId { get; set; }
|
|
public WTM_CUSTOM_PERSON VisitObject { get; set; }
|
|
|
|
[Display(Name = "_Admin.PersonName")]
|
|
public Guid? VisitObjectId { get; set; }
|
|
|
|
public WTM_PROJECT Project { get; set; }
|
|
|
|
[Display(Name = "_Admin.ProjectName")]
|
|
public Guid? ProjectId { get; set; }
|
|
|
|
[Display(Name = "_Admin.BusinessName")]
|
|
public string BusinessName { get; set; }
|
|
|
|
[Display(Name = "_Admin.BusinessStatus")]
|
|
public BusinessStatusEnum? BusinessStatus { get; set; }
|
|
|
|
public FrameworkUser MarkManage { get; set; }
|
|
|
|
[Display(Name = "_Admin.MarkManage")]
|
|
public Guid? MarkManageId { get; set; }
|
|
|
|
[Display(Name = "Sys.Requirement")]
|
|
public string Requirement { get; set; }
|
|
|
|
[Display(Name = "Sys.Proposal")]
|
|
public string Proposal { get; set; }
|
|
|
|
[Display(Name = "Sys.BusinessProject")]
|
|
public string BusinessProject { get; set; }
|
|
|
|
[Display(Name = "Sys.Follow")]
|
|
public string Follow { get; set; }
|
|
|
|
[Display(Name = "Sys.Negotiation")]
|
|
public string Negotiation { get; set; }
|
|
|
|
[Display(Name = "_Admin.Tenant")]
|
|
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
|
public string TenantCode { get; set; }
|
|
|
|
[Display(Name = "_Admin.IndustryType")]
|
|
public IndustryTypeEnum? IndustryType { get; set; }
|
|
|
|
public WTM_AREA Area { get; set; }
|
|
|
|
[Display(Name = "_Admin.Area")]
|
|
public Guid? AreaId { get; set; }
|
|
}
|
|
}
|