package cn.ey.biz.module.external.api.fd.service.requestdto;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import lombok.Data;

@Data
public class SaveEngagementReqDTO {
			
	private Long id;
	
	/**流程编号	process_no	varchar(255)*/
	private String processNo;
	
	/**申请日期	application_date	char(10)传入格式：yyyy-MM-dd*/
	private Date applicationDate;
	
	/**生效日期	effective_date	char(10)传入格式：yyyy-MM-dd*/
	private Date effectiveDate;
	
	/**申请人GPN	applicant_gpn	varchar(255)*/
	private String applicantGpn;
	
	/**项目名称	engagement_name	varchar(255)*/
	private String engagementName;
	
	/**10位项目编号	engagement_code	varchar(10)	mainTable*/	
	private String engagementCode;
	
	/**8位项目编号	engagement_code	varchar(10)*/	
	private String engagementCode1;
	
	/**项目状态	engagement_status	varchar(1000)*/
	private String engagementStatus;
	
	/**业务线	service_line	varchar(255)*/
	private String serviceLine;
	
	/**子业务线	sub_service_line	varchar(255)*/	
	private String subServiceLine;
	
	/**全球服务编码	global_service_code	varchar(1000)*/
	private String globalServiceCode;
	
	/**本地服务编码	local_service_code	varchar(255)*/
	private String localServiceCode;
	
	/**基础币种	base_currency	int*/
	private Integer baseCurrency;
	
	/**项目用途	engagement_purpose	int(11)枚举：[0:Time,1:Expense,2:Time&Expense]*/
	private Integer engagementPurpose;
	
	/**一次性/重复性	one_of_frecurring_event	int(11)枚举：[0:One-off,1:Recurring event]*/
	private Integer oneOfFrecurringEvent;
			
	/**客户编号	client_id	varchar(255)*/
	private String clientId;
	
	/**国家编号	country	varchar(255)*/	
	private String country;
	
	/**法律实体编号	legal_entity	varchar(255)*/	
	private String legalEntity;
	
	/**分支编号	branch	varchar(255)*/
	private String branch;
	
	/**权限范围	blocking_level	varchar(1000)*/
	private String blockingLevel;
	
	/**项目预计开始时间	estimated_start_date	char(10)传入格式：yyyy-MM-dd*/
	private Date estimatedStartDate;
	
	/**项目预计结束时间	estimated_close_date	char(10)传入格式：yyyy-MM-dd*/
	private Date estimatedCloseDate;
	
	/**小时数	hours	decimal(38,1)*/
	private BigDecimal hours;
	
	/**项目合伙人GPN	engagement_partner_gpn	varchar(255)*/
	private String engagementPartnerGpn;
	
	/**项目经理GPN	engagement_manager_gpn	varchar(255)*/	
	private String engagementManagerGpn;
	
	/**主要FMA GPN	primary_fma_gpn	varchar(255)*/
	private String primaryFmaGpn;
	
	/**活动编号	activity	varchar(255)*/
	private String activity;
	
	/**活动描述 activity_description*/
	private String activityDescription;
	
	/**变现	realization	varchar(255)*/
	private String realization;
	
	/**合伙人参与度	partner_involvement	decimal(38,2)*/	
	private BigDecimal partnerInvolvement;
	
	/**总收入	total_revenue	decimal(38,2)*/
	private BigDecimal totalRevenue;
	
	/**利润率	margin	decimal(38,2)*/
	private BigDecimal margin;
	
	/**本财年TER	current_fiscal_year_ter	decimal(38,2)*/
	private BigDecimal currentFiscalYearTer;
	
	/**ERP	erp1	decimal(38,2)*/
	private BigDecimal erp;
	
	/**项目描述	engagement_description	varchar(255)*/	
	private String engagementDescription;
	
	/**计划预算编号	budget_plan_id	varchar(255)*/	
	private String budgetPlanId;
	
	/**计划预算版本编号	budget_version_id	varchar(255)*/	
	private String budgetVersionId;
	
	/**项目类型	engagement_type	varchar(1000)*/
	private String engagementType;
	
	/**项目子类型	engagement_sub_type	varchar(1000)*/
	private String engagementSubType;
	
	/**业务单元	business_unit	varchar(1000)*/
	private String businessUnit;
	
	/**管理地区编号	mgmt_region	varchar(1000)*/
	private String mgmtRegion;
	
	/**运营单位编号	oper_unit	varchar(1000)*/
	private String operUnit;
	
	/**管理单位编号	mgmt_unit	varchar(1000)*/
	private String mgmtUnit;
	
	/**子管理单位编号	sub_mgmt_unit	varchar(1000)*/
	private String subMgmtUnit;
	
	/**地理区域编号	geo_region	varchar(255)*/
	private String geoRegion;
	
	/**PACE ID	pace_id	varchar(255)*/
	private String paceId;
	
	/**商机ID	opportunity_id	varchar(255)*/	
	private String opportunityId;
	
	/**PY编号	py_code	varchar(255)*/	
	private String pyCode;
	
	/**项目属性	engagement_code_attribute	int(11)	枚举：[0:Master Code,1:Sub Code]*/
	private String engagementCodeAttribute;
			
	/**主项目编号	master_code	varchar(255)*/	
	private String masterCode;
	
	/**地区编号	area	varchar(255)*/
	private String area;
	
	/**EAF	eaf	varchar(255)*/
	private BigDecimal eaf;
	
	/**ERP备注	erp_comments	varchar(255)*/	
	private String erpComments;
	
	/**费用	expenses	decimal(38,2)*/
	private BigDecimal expenses;
	
	private String reoxzk;
	
	private String typexzk;
	
	/**	财年	 */
	private String fiscalYear;
	
	/**本年度总收入	current_year_total_revenue	decimal(38,2)*/
	private BigDecimal currentYearTotalRevenue;
	
	/**Standard Engagement Revenue	standard_engagement_revenue	decimal(38,2)*/	
	private BigDecimal standardEngagementRevenue;
	
	/**Net Engagement Revenue	net_engagement_revenue	decimal(38,2)*/	
	private BigDecimal netEngagementRevenue;
	
	/**毛利	margin1	decimal(38,2)*/	
	private BigDecimal margin1;
	
	/**Cost	total_cost	decimal(38,2)*/		
	private BigDecimal totalCost;
	
	/**数据来源*/
	private String dataSources;
	
	/**codeBlock*/
	private String codeBlock;
	 
	/**epCodeBlock*/
	private String epCodeBlock;
	
	/**创建人gpn*/
	private String creatorGpn;
	
	/**是否公开 0:是，1：否*/
	private String isConfidential;
	
	/**保密等级*/
	private String confidentialLevel;
	
	/**计划来源*/
	private Integer planSource;
	
	/**Mercury Service Code*/
	private String mercuryServiceCode;
	
	/** 人员 */
	private List<EngPersonnelDTO> engPersonnels;
	
	/** 活动 */
	private List<EngActivityDTO> engActivitys;
	
}
