Example #1
0
 public AddPointRecordEvent(int point, PointType pointType, PointOperationType operationType, string notes, string createBy)
 {
     Point         = point;
     PointType     = pointType;
     OperationType = operationType;
     Notes         = notes;
     CreateBy      = createBy;
 }
Example #2
0
 public AddPointRecordCommand(string id, int point, PointType pointType, PointOperationType operationType, string notes, string createBy) : base(id)
 {
     Point         = point;
     PointType     = pointType;
     OperationType = operationType;
     Notes         = notes;
     CreateBy      = createBy;
 }
Example #3
0
        public PointRecord(string id, int point, PointType pointType, PointOperationType operationType, string notes, string createBy) : base(id)
        {
            Point         = point;
            PointType     = pointType;
            OperationType = operationType;
            Notes         = notes;
            CreateBy      = createBy;
            CreateTime    = DateTime.Now;

            ApplyEvent(new AddPointRecordEvent(Point, PointType, OperationType, Notes, CreateBy));
        }