Esempio n. 1
0
        /// <summary>
        /// 修改数据产品
        /// </summary>
        /// <param name="e"></param>
        private void Apply(DataProductUpdateEvent e)
        {
            Version = e.Version;

            _name                 = e.Name;
            _type                 = e.Type;
            _industry1            = e.Industry1;
            _industry2            = e.Industry2;
            _industry3            = e.Industry3;
            _company              = e.Company;
            _owner                = e.Owner;
            _users                = e.Users;
            _team                 = e.Team;
            _description          = e.Description;
            _dataProductionExtend = e.DataProductionExtend;
        }
Esempio n. 2
0
 public DataProductUpdateEvent(string name, ProductType type, Industry industry1, Industry industry2,
                               Industry industry3, Company company, User owner, List <User> users, Team team, string description,
                               bool isRelease,
                               EvaluationStatus evaluationStatus, string evaluationDescription, DataProductionExtend dataProductionExtend
                               )
 {
     Name                  = name;
     Type                  = type;
     Industry1             = industry1;
     Industry2             = industry2;
     Industry3             = industry3;
     Company               = company;
     Owner                 = owner;
     Users                 = users;
     Team                  = team;
     Description           = description;
     IsRelease             = isRelease;
     EvaluationStatus      = evaluationStatus;
     EvaluationDescription = evaluationDescription;
     DataProductionExtend  = dataProductionExtend;
 }
Esempio n. 3
0
 public ProductEvaluationStatusChangeEvent(DataProductionExtend dataProductionExtend)
 {
     DataProductionExtend = dataProductionExtend;
 }
Esempio n. 4
0
        /// <summary>
        /// 修改评估状态
        /// </summary>
        /// <param name="e"></param>
        private void Apply(ProductEvaluationStatusChangeEvent e)
        {
            Version = e.Version;

            _dataProductionExtend = e.DataProductionExtend;
        }