As far as I know, Family Code (Семейный кодекс) provides for arrangement of everything that concerns property before marriage (this would be a marital agreement, so in theory it is possible to decide how property would be divided in case of divorce even before marriage), but I don't remember what it says about children.